make test DBD::Sybase fails
am 05.01.2007 12:27:03 von cachux
Hi friends!!
I've a trouble compiling the DBD::Sybase
I installed the following rpms:
sybase-common-11.9.2-3
sybase-doc-11.9.2-1
sybase-ase-11.9.2-3
sybase-openclient-11.1.1-3
sybase-monserver-11.9.2-3
and I downloaded this archive: DBD-Sybase-1.07.tar.gz
perl Makefile.PL and make is OK
but make test fails.
Thanks in advance!!
perl Makefile.PL
Sybase OpenClient 11.1.1 found.
By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.
Use 'CHAINED' mode by default (Y/N) [Y]:
Running in threaded mode - looking for _r libraries...
No thread-safe Sybase libraries found
The DBD::Sybase module 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):
Sybase database to use on SYBASE (default: undef):
* Writing login information, including password, to file PWD.
Using DBI 1.40 (for perl 5.008005 on i386-linux-thread-multi)
installed in /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI
Writing Makefile for DBD::Sybase
[root@localhost DBD-Sybase-1.07]# make
gcc -c -I/opt/sybase-11.9.2/include -DNO_THREADS
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Sybase.c
gcc -c -I/opt/sybase-11.9.2/include -DNO_THREADS
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" dbdimp.c
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
gcc -L/opt/sybase-11.9.2/lib -shared -L/usr/local/lib Sybase.o
dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so
-L/opt/sybase-11.9.2/lib -lct -lcs -lsybtcl -lcomn -lintl -lblk -ldl
-lm
chmod 755 blib/arch/auto/DBD/Sybase/Sybase.so
cp Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs
chmod 644 blib/arch/auto/DBD/Sybase/Sybase.bs
Manifying blib/man3/DBD::Sybase.3
[root@localhost DBD-Sybase-1.07]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/base..........dubious
Test returned status 0 (wstat 11, 0xb)
t/exec..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-22
Failed 21/22 tests, 4.55% okay
t/fail..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-12
Failed 11/12 tests, 8.33% okay
t/login.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/main..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-33
Failed 32/33 tests, 3.03% okay
t/multi_sth.....dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-43
Failed 42/43 tests, 2.33% okay
t/nsql..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/place.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t/thread........dubious
Test returned status 0 (wstat 11, 0xb)
t/xblk..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-62
Failed 61/62 tests, 1.61% okay
t/xblob.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/autocommit.t 0 11 9 16 177.78% 2-9
t/base.t 0 11 ?? ?? % ??
t/exec.t 0 11 22 42 190.91% 2-22
t/fail.t 0 11 12 22 183.33% 2-12
t/login.t 0 11 4 6 150.00% 2-4
t/main.t 0 11 33 64 193.94% 2-33
t/multi_sth.t 0 11 43 84 195.35% 2-43
t/nsql.t 0 11 7 12 171.43% 2-7
t/place.t 0 11 13 24 184.62% 2-13
t/thread.t 0 11 ?? ?? % ??
t/xblk.t 0 11 62 122 196.77% 2-62
t/xblob.t 0 11 11 20 181.82% 2-11
Failed 12/12 test scripts, 0.00% okay. 206/216 subtests failed, 4.63% okay.
make: *** [test_dynamic] Error 255
Re: make test DBD::Sybase fails
am 08.01.2007 07:49:31 von michael.peppler
--=_alternative 00257E49C125725D_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
First of all you are using really old Sybase code - you can download
current Sybase code from http://www.sybase.com/linux_promo.
Second, you didn't specify a database server to connect to, nor a user
and/or password to use when connecting to that server, so DBD::Sybase will
attempt to connect to a database server called "SYBASE" with the "sa" user
and an empty password. That's almost certainly not correct, and that's
most likely what fails in the tests.
Michael
Extranet
cachux@gmail.com - 05.01.2007 12:27
To: dbi-users
cc:
Subject: make test DBD::Sybase fails
Hi friends!!
I've a trouble compiling the DBD::Sybase
I installed the following rpms:
sybase-common-11.9.2-3
sybase-doc-11.9.2-1
sybase-ase-11.9.2-3
sybase-openclient-11.1.1-3
sybase-monserver-11.9.2-3
and I downloaded this archive: DBD-Sybase-1.07.tar.gz
perl Makefile.PL and make is OK
but make test fails.
Thanks in advance!!
perl Makefile.PL
Sybase OpenClient 11.1.1 found.
By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where
available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.
Use 'CHAINED' mode by default (Y/N) [Y]:
Running in threaded mode - looking for _r libraries...
No thread-safe Sybase libraries found
The DBD::Sybase module 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):
Sybase database to use on SYBASE (default: undef):
* Writing login information, including password, to file PWD.
Using DBI 1.40 (for perl 5.008005 on i386-linux-thread-multi)
installed in
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI
Writing Makefile for DBD::Sybase
[root@localhost DBD-Sybase-1.07]# make
gcc -c -I/opt/sybase-11.9.2/include -DNO_THREADS
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Sybase.c
gcc -c -I/opt/sybase-11.9.2/include -DNO_THREADS
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" dbdimp.c
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
gcc -L/opt/sybase-11.9.2/lib -shared -L/usr/local/lib Sybase.o
dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so
-L/opt/sybase-11.9.2/lib -lct -lcs -lsybtcl -lcomn -lintl -lblk -ldl
-lm
chmod 755 blib/arch/auto/DBD/Sybase/Sybase.so
cp Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs
chmod 644 blib/arch/auto/DBD/Sybase/Sybase.bs
Manifying blib/man3/DBD::Sybase.3
[root@localhost DBD-Sybase-1.07]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/base..........dubious
Test returned status 0 (wstat 11, 0xb)
t/exec..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-22
Failed 21/22 tests, 4.55% okay
t/fail..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-12
Failed 11/12 tests, 8.33% okay
t/login.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/main..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-33
Failed 32/33 tests, 3.03% okay
t/multi_sth.....dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-43
Failed 42/43 tests, 2.33% okay
t/nsql..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/place.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t/thread........dubious
Test returned status 0 (wstat 11, 0xb)
t/xblk..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-62
Failed 61/62 tests, 1.61% okay
t/xblob.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/autocommit.t 0 11 9 16 177.78% 2-9
t/base.t 0 11 ?? ?? % ??
t/exec.t 0 11 22 42 190.91% 2-22
t/fail.t 0 11 12 22 183.33% 2-12
t/login.t 0 11 4 6 150.00% 2-4
t/main.t 0 11 33 64 193.94% 2-33
t/multi_sth.t 0 11 43 84 195.35% 2-43
t/nsql.t 0 11 7 12 171.43% 2-7
t/place.t 0 11 13 24 184.62% 2-13
t/thread.t 0 11 ?? ?? % ??
t/xblk.t 0 11 62 122 196.77% 2-62
t/xblob.t 0 11 11 20 181.82% 2-11
Failed 12/12 test scripts, 0.00% okay. 206/216 subtests failed, 4.63%
okay.
make: *** [test_dynamic] Error 255
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
--=_alternative 00257E49C125725D_=--