probleme pour installer le module DBD::Sybase
bonjour a tous,
pour mon travail j'ai besoin d'installer le module cpan DBD::Sybase donc je fait comme d'ahbitue :
Code:
1 2 3
|
perl -MCPAN -e shell
cpan>install DBD::Sybase |
apres les autre modules tout ce passe tres bien mais avec celui la ben j'ai des problèmes depuis 3 jours, donc j'ai reussi a les resourde sauf un "eh oui c'est pour cela que je demande votre aide :roll: "
donc voisi le resultat de l'installation :
Citation:
[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>
donc apres recherche j'ai constacter que l'erreur est due au fait que le package bintutils n'est pas installer sur ma mandrake corporate server 2003 donc vite j'ai installer la package manquant mais le resultat reste le meme :!: :!:
voici le contenue du repertoire /usr/local/lib
Citation:
-rw-r--r-- 1 root root 1622922 jui 20 16:38 libct.a
-rwxr-xr-x 1 root root 776 jui 20 16:38 libct.la*
lrwxrwxrwx 1 root root 14 jui 20 16:38 libct.so -> libct.so.3.0.0*
lrwxrwxrwx 1 root root 14 jui 20 16:38 libct.so.3 -> libct.so.3.0.0*
-rwxr-xr-x 1 root root 967840 jui 20 16:38 libct.so.3.0.0*
-rw-r--r-- 1 root root 1753646 jui 20 16:38 libsybdb.a
-rwxr-xr-x 1 root root 797 jui 20 16:38 libsybdb.la*
lrwxrwxrwx 1 root root 17 jui 20 16:38 libsybdb.so -> libsybdb.so.5.0.0*
lrwxrwxrwx 1 root root 17 jui 20 16:38 libsybdb.so.5 -> libsybdb.so.5.0.0*
-rwxr-xr-x 1 root root 1044213 jui 20 16:38 libsybdb.so.5.0.0*
-rw-r--r-- 1 root root 1309540 jui 20 16:38 libtds.a
-rwxr-xr-x 1 root root 783 jui 20 16:38 libtds.la*
lrwxrwxrwx 1 root root 15 jui 20 16:38 libtds.so -> libtds.so.4.0.0*
lrwxrwxrwx 1 root root 15 jui 20 16:38 libtds.so.4 -> libtds.so.4.0.0*
-rwxr-xr-x 1 root root 788621 jui 20 16:38 libtds.so.4.0.0*
-rw-r--r-- 1 root root 1441126 jui 20 16:38 libtdssrv.a
-rwxr-xr-x 1 root root 804 jui 20 16:38 libtdssrv.la*
lrwxrwxrwx 1 root root 18 jui 20 16:38 libtdssrv.so -> libtdssrv.so.2.0.0*
lrwxrwxrwx 1 root root 18 jui 20 16:38 libtdssrv.so.2 -> libtdssrv.so.2.0.0*
-rwxr-xr-x 1 root root 854232 jui 20 16:38 libtdssrv.so.2.0.0*
P.S : j'ai fait une recherche sur tout les .h que j'ai sur le systeme et j'ai trouver que la librairie est existante
Citation:
/usr/include/libintl.h
que dois-je faire svp car la je suis bloquer?
merci pour votre aide