station295:/tmp/DBD-Sybase-1.10 # perl Makefile.PL 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 threaded mode - looking for _r libraries... ***NOTE*** There is an incompatibility between perl (5.8.x) built in threaded mode and Sybase's threaded libraries, which means that signals delivered to the perl process result in a segment violation. I suggest building DBD::Sybase with the normal libraries in this case to get reasonable behavior for signal handling. Use the threaded (lib..._r) libraries [N]: OK - I'll use the normal libs Running in 64bit mode - looking for '64' libraries... BLK api NOT available. 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): 192.168.2.95 User ID to log in to Sybase (default: sa): root Password (default: undef): Sybase database to use on 192.168.2.95 (default: undef): alerts * 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.50 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ Writing Makefile for DBD::Sybase station295:/tmp/DBD-Sybase-1.10 # make cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod cp Sybase.pm blib/lib/DBD/Sybase.pm /usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI//Driver.xst > Sybase.xsi /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c cc -c -I/usr/local/include -DSYB_LP64 -DNO_BLK=1 -I/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Sybase.c In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/DBIXS.h:31, from Sybase.h:16, from Sybase.xs:14: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/dbipport.h:227:1: warning: "PERL_UNUSED_DECL" redefined In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/DBIXS.h:19, from Sybase.h:16, from Sybase.xs:14: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1: warning: this is the location of the previous definition Sybase.c: In function âXS_DBD__Sybase__db__isdeadâ: Sybase.c:103: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__db__date_fmtâ: Sybase.c:121: warning: unused variable âixâ Sybase.xs: In function âXS_DBD__Sybase__db_pingâ: Sybase.xs:83: warning: implicit declaration of function âsyb_pingâ Sybase.xs: In function âXS_DBD__Sybase__st_cancelâ: Sybase.xs:95: warning: implicit declaration of function âsyb_st_cancelâ Sybase.c:157: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_get_dataâ: Sybase.c:175: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_data_infoâ: Sybase.c:205: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_send_dataâ: Sybase.c:240: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_prepare_sendâ: Sybase.c:260: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_finish_sendâ: Sybase.c:278: warning: unused variable âixâ In file included from Sybase.c:366: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h: In function âdbixst_bounce_methodâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h:14: error: âmy_perlâ undeclared (first use in this function) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h:14: error: (Each undeclared identifier is reported only once /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h:14: error: for each function it appears in.) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h: In function âdbdxst_bind_paramsâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h:57: error: âmy_perlâ undeclared (first use in this function) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h: In function âdbdxst_fetchall_arrayrefâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver_xst.h:78: error: âmy_perlâ undeclared (first use in this function) make: *** [Sybase.o] Error 1 station295:/tmp/DBD-Sybase-1.10 # uname -a Linux station295 2.6.16.60-0.21-default #1 Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux