PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Jeffries, Jim J" <jim dot jeffries at nwa dot com>
Subject: Problems with sybperl installation under Solaris 2.6
Date: Jan 11 2002 7:53PM

My systems administrator is having problems installing sybperl under
Solaris 2.6. and Sybase 12.

She has without errors:
   1. Unpacked the package
   2. Modified the CONFIG file
   3. Ran perl Makefile.PL

When she executes the "make" the script script spawns about 1500 cpp
process that eventually slow the machine to a point where the processes
need to be killed.

Here is the output of the makefile: 

root@j0xsds34.mn.nwa.com> make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Sybase
mkdir blib/lib/auto
mkdir blib/lib/auto/Sybase
cp config.pl blib/lib/config.pl
cp lib/sql.pl blib/lib/sql.pl
cp lib/sybperl.pl blib/lib/sybperl.pl
cp lib/sybutil.pl blib/lib/sybutil.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
mkdir ../blib/lib/Sybase
mkdir ../blib/arch/auto/Sybase/BCP
mkdir ../blib/lib/auto/Sybase/BCP
mkdir ../blib/man3
cp BCP.pm ../blib/lib/Sybase/BCP.pm
Manifying ../blib/man3/Sybase::BCP.3
mkdir ../blib/arch/auto/Sybase/CTlib
mkdir ../blib/lib/auto/Sybase/CTlib
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm
(../blib/lib/auto/Sybase/CTlib)
cp CTlib.pod ../blib/lib/Sybase/CTlib.pod
/usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris
-I/usr/local/lib/pe
rl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -prototypes
-typemap /usr/
local/lib/perl5/5.00503/ExtUtils/typemap CTlib.xs >xstmp.c && mv xstmp.c
CTlib.c
gcc -c -I/prd/syb16/db/sybase/../../OCS-12_0/include
-I/usr/local/include -O     -D
VERSION=\"2.13\"  -DXS_VERSION=\"2.13\" -fPIC
-I/usr/local/lib/perl5/5.00503/sun4-s
olaris/CORE -DCTLIBVS=100 -DSYBPLVER='"2.13"' -DDO_TIE CTlib.c




The processes that are spawned look like:
    root 18035 20452  0 19:27:13 pts/8    0:00 grep cpp
    root 17367 17356  0 19:25:47 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17485 17482  0 19:25:58 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17873 17868  0 19:26:51 pts/6    0:01 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17150 17147  0 19:25:35 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17096 17095  0 19:25:27 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17191 17190  0 19:25:40 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17646 17642  0 19:26:12 pts/6    0:01 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17806 17799  0 19:26:38 pts/6    0:01 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s
    root 17131 17129  0 19:25:32 pts/6    0:00 cpp -lang-c
-Asystem(unix) -Asystem(
svr4) -Acpu(sparc) -Amachine(sparc) -Acpu(s


Does anyone have any idea what she is doing wrong? 

Thanks for your help.

Jim