[root@localhost lib]# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install DBD::Sybase
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 22 Jul 2005 04:04:31 GMT
Running install for module DBD::Sybase
Running make for M/ME/MEWP/DBD-Sybase-1.05.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/M/ME/MEWP/DBD-Sybase-1.05.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-Sybase-1.05/
DBD-Sybase-1.05/dbdimp.h
DBD-Sybase-1.05/dbd-sybase.pod
DBD-Sybase-1.05/t/
DBD-Sybase-1.05/t/nsql.t
DBD-Sybase-1.05/t/xblk.t
DBD-Sybase-1.05/t/place.t
DBD-Sybase-1.05/t/fail.t
DBD-Sybase-1.05/t/exec.t
DBD-Sybase-1.05/t/autocommit.t
DBD-Sybase-1.05/t/thread.t
DBD-Sybase-1.05/t/xblob.t
DBD-Sybase-1.05/t/base.t
DBD-Sybase-1.05/t/_test.pm
DBD-Sybase-1.05/t/multi_sth.t
DBD-Sybase-1.05/t/login.t
DBD-Sybase-1.05/t/screen.jpg
DBD-Sybase-1.05/t/main.t
DBD-Sybase-1.05/Sybase.h
DBD-Sybase-1.05/dbdimp.c
DBD-Sybase-1.05/README.freetds
DBD-Sybase-1.05/PWD.factory
DBD-Sybase-1.05/Makefile.PL
DBD-Sybase-1.05/META.yml
DBD-Sybase-1.05/dbivport.h
DBD-Sybase-1.05/README.vms
DBD-Sybase-1.05/Sybase.xs
DBD-Sybase-1.05/README
DBD-Sybase-1.05/CHANGES
DBD-Sybase-1.05/BUGS
DBD-Sybase-1.05/CONFIG
DBD-Sybase-1.05/Sybase.pm
DBD-Sybase-1.05/MANIFEST
DBD-Sybase-1.05/eg/
DBD-Sybase-1.05/eg/Show.cgi
DBD-Sybase-1.05/eg/dbschema.pl
DBD-Sybase-1.05/eg/README
DBD-Sybase-1.05/eg/check-space.pl
Removing previously used /root/.cpan/build/DBD-Sybase-1.05
CPAN.pm: Going to build M/ME/MEWP/DBD-Sybase-1.05.tar.gz
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]: 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): undef
User ID to log in to Sybase (default: sa): undef
Password (default: undef): Sybase database to use on undef (default: undef): undef
* Writing login information, including password, to file PWD.
Checking if your kit is complete...
Looks good
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 -lblk
Using DBI 1.48 (for perl 5.008005 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Sybase
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
cp Sybase.pm blib/lib/DBD/Sybase.pm
/usr/bin/perl5.8.5 -p -e "s/~DRIVER~/Sybase/g" /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI//Driver.xst > Sybase.xsi
/usr/bin/perl5.8.5 /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c
gcc -c -I/usr/local/include -DNO_THREADS -I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Sybase.c
gcc -c -I/usr/local/include -DNO_THREADS -I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -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
LD_RUN_PATH="/usr/local/lib" gcc -L/usr/local/lib -shared -L/usr/local/lib Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so -L/usr/local/lib -lct -lintl -ltds -ldl -lm
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Sybase/Sybase.so] Erreur 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan>
Partager