[root@DBD-Sybase-1.09]# perl Makefile.PL --accept_test_defaults --chained {Y, N} --threaded_libs {Y, N}
Unknown Client Library version - assuming FreeTDS.
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 64bit mode - looking for '64' libraries...
BLK api NOT available.
* Writing login information, including password, to file PWD.
Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lsybtcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lblk
Using DBI 1.608 (for perl 5.008009 on x86_64-linux) installed in /usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/auto/DBI/
Writing Makefile for DBD::Sybase
[root@ DBD-Sybase-1.09]# make
cc -c -I/usr/local/freetds/include -DNO_CHAINED_TRAN=1 -DSYB_LP64 -DNO_BLK=1 -I/usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/auto/DBI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC "-I/usr/local/lib/perl5/5.8.9/x86_64-linux/CORE" Sybase.c
cc -c -I/usr/local/freetds/include -DNO_CHAINED_TRAN=1 -DSYB_LP64 -DNO_BLK=1 -I/usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/auto/DBI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC "-I/usr/local/lib/perl5/5.8.9/x86_64-linux/CORE" dbdimp.c
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
LD_RUN_PATH="/usr/local/freetds/lib" cc -L/usr/local/freetds/lib -shared -O2 -L/usr/local/lib Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so \
-L/usr/local/freetds/lib -lct -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@ DBD-Sybase-1.09]# make test
PERL_DL_NONLAZY=1 /usr/local/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-6
Failed 5/6 tests, 16.67% okay
t/main..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-34
Failed 33/34 tests, 2.94% 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-18
Failed 17/18 tests, 5.56% okay
t/thread........skipped
all skipped: this perl 5.008009 not configured to support iThreads
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 List of Failed
-------------------------------------------------------------------------------
t/autocommit.t 0 11 9 16 2-9
t/base.t 0 11 ?? ?? ??
t/exec.t 0 11 22 42 2-22
t/fail.t 0 11 12 22 2-12
t/login.t 0 11 6 10 2-6
t/main.t 0 11 34 66 2-34
t/multi_sth.t 0 11 43 84 2-43
t/nsql.t 0 11 7 12 2-7
t/place.t 0 11 18 34 2-18
t/xblk.t 0 11 62 122 2-62
t/xblob.t 0 11 11 20 2-11
1 test skipped.
Failed 11/12 test scripts. 214/224 subtests failed.
Files=12, Tests=224, 0 wallclock secs ( 0.47 cusr + 0.07 csys = 0.54 CPU)
Failed 11/12 test programs. 214/224 subtests failed.
make: *** [test_dynamic] Erreur 255
[root@ DBD-Sybase-1.09]# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/auto/DBD/Sybase/.packlist
Appending installation info to /usr/local/lib/perl5/5.8.9/x86_64-linux/perllocal.pod
Partager