|
|
sybperl-l Archive
Up Prev Next
From: Brian Craft <bccraft at uci dot edu>
Subject: sybperl 'make test' problem
Date: Aug 30 2006 10:52PM
Trying to upgrade to sybperl 2.18 (from 2.17) after an ASE upgrade to 12.5.4
(from 12.5.3a). This is on Solaris 9 using the 64 bit version of ASE. However,
the sybperl compile should be 32 bit. The open client libraries are 12.5.1 and
are the ones distributed with the ASE install.
Edit CONFIG by changing the SYBASE line and EXTRA_LIBS line (EXTRA_LIBS=-ltli
-lnsl -ldl -lm), also added -DNOBLK to the EXTRA_DEFS line.
perl Makefile
gmake
gmake test
I get the following output from 'gmake test' -
gmake[1]: Entering directory `/tmp/sybperl-2.18/BCP'
gmake[1]: Leaving directory `/tmp/sybperl-2.18/BCP'
gmake[1]: Entering directory `/tmp/sybperl-2.18/BLK'
gmake[1]: Leaving directory `/tmp/sybperl-2.18/BLK'
gmake[1]: Entering directory `/tmp/sybperl-2.18/CTlib'
gmake[1]: Leaving directory `/tmp/sybperl-2.18/CTlib'
gmake[1]: Entering directory `/tmp/sybperl-2.18/DBlib'
gmake[1]: Leaving directory `/tmp/sybperl-2.18/DBlib'
gmake[1]: Entering directory `/tmp/sybperl-2.18/Sybperl'
gmake[1]: Leaving directory `/tmp/sybperl-2.18/Sybperl'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/1_db_dblib...........
and it stops and never comes back. I do an sp__who in ASE and I see the login.
I have to hit control-C to end things. Any ideas on what I can look at to
troubleshoot? Thanks
bc
Here is the output from the compile -
(thea) root:/tmp/sybperl-2.18 # perl Makefile.PL
/adcom/ase-12.5.x
Sybase OpenClient 12.5.1 found.
The sybperl modules need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: SYBASE):
User ID to log in to Sybase (default: sa):
Password (default: undef): XXXXXXX
Sybase database to use on SYBASE (default: undef): pubs2
* Writing login information, including password, to file PWD.
Checking if your kit is complete...
Looks good
/adcom/ase-12.5.x
Sybase OpenClient 12.5.1 found.
Writing Makefile for Sybase::BCP
Writing Makefile for Sybase::BLK
/adcom/ase-12.5.x
Sybase OpenClient 12.5.1 found.
Note (probably harmless): No library found for -lblk
Writing Makefile for Sybase::CTlib
/adcom/ase-12.5.x
Sybase OpenClient 12.5.1 found.
Writing Makefile for Sybase::DBlib
/adcom/ase-12.5.x
Sybase OpenClient 12.5.1 found.
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
(thea) root:/tmp/sybperl-2.18 # gmake
cp lib/sybutil.pl blib/lib/sybutil.pl
cp lib/sybperl.pl blib/lib/sybperl.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
cp lib/sql.pl blib/lib/sql.pl
gmake[1]: Entering directory `/tmp/sybperl-2.18/BCP'
cp BCP.pm ../blib/lib/Sybase/BCP.pm
Manifying ../blib/man3/Sybase::BCP.3
gmake[1]: Leaving directory `/tmp/sybperl-2.18/BCP'
gmake[1]: Entering directory `/tmp/sybperl-2.18/BLK'
cp BLK.pm ../blib/lib/Sybase/BLK.pm
Manifying ../blib/man3/Sybase::BLK.3
gmake[1]: Leaving directory `/tmp/sybperl-2.18/BLK'
gmake[1]: Entering directory `/tmp/sybperl-2.18/CTlib'
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm (../blib/lib/auto/Sybase/CTlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-prototypes -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap CTlib.xs >
CTlib.xsc && mv CTlib.xsc CTlib.c
gcc -c -I/adcom/ase-12.5.x/OCS-12_5/include -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.18\"
-DXS_VERSION=\"2.18\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DCTLIBVS=100 -DSYBPLVER='"2.18"' -DDO_TIE -DNOBLK CTlib.c
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
LD_RUN_PATH="/adcom/ase-12.5.x/OCS-12_5/lib:/usr/lib" gcc
-L/adcom/ase-12.5.x/OCS-12_5/lib -G CTlib.o -o
../blib/arch/auto/Sybase/CTlib/CTlib.so -L/adcom/ase-12.5.x/OCS-12_5/lib -lct
-lcs -ltcl -lcomn -lintl -lcs -ltcl -lcomn -lintl -lm
chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so
cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs
chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs
Manifying ../blib/man3/Sybase::CTlib.3
gmake[1]: Leaving directory `/tmp/sybperl-2.18/CTlib'
gmake[1]: Entering directory `/tmp/sybperl-2.18/DBlib'
cp DBlib.pm ../blib/lib/Sybase/DBlib.pm
AutoSplitting ../blib/lib/Sybase/DBlib.pm (../blib/lib/auto/Sybase/DBlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-prototypes -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap DBlib.xs >
DBlib.xsc && mv DBlib.xsc DBlib.c
gcc -c -I/adcom/ase-12.5.x/OCS-12_5/include -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.18\"
-DXS_VERSION=\"2.18\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DDBLIBVS=1000 -DSYBPLVER='"2.18"' -DDO_TIE -DNOBLK DBlib.c
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so
LD_RUN_PATH="/adcom/ase-12.5.x/OCS-12_5/lib:/usr/lib" gcc
-L/adcom/ase-12.5.x/OCS-12_5/lib -G DBlib.o -o
../blib/arch/auto/Sybase/DBlib/DBlib.so -L/adcom/ase-12.5.x/OCS-12_5/lib
-lsybdb -lcs -ltcl -lcomn -lintl -lm
chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs
Manifying ../blib/man3/Sybase::DBlib.3
gmake[1]: Leaving directory `/tmp/sybperl-2.18/DBlib'
gmake[1]: Entering directory `/tmp/sybperl-2.18/Sybperl'
cp Sybperl.pm ../blib/lib/Sybase/Sybperl.pm
AutoSplitting ../blib/lib/Sybase/Sybperl.pm (../blib/lib/auto/Sybase/Sybperl)
Manifying ../blib/man3/Sybase::Sybperl.3
gmake[1]: Leaving directory `/tmp/sybperl-2.18/Sybperl'
Manifying blib/man3/sybperl.3
|