Hello everybody, I'm trying without success to install DBI for nearly two days now.
I use a x86_64-linux Mandriva 2007 distribution, with perl 5.8.8 (the shell 'perl -V' output is attached). I tried several ways to install DBI : 1. With the CPAN : I tried 'perl -MCPAN -e shell', then 'install DBI' CPAN gets the DBI module, writes the makefile, then... crashes ! I attached the output of the CPAN on the shell (auto_CPAN_crash.txt). It crashes when gcc compiling is beginning (near line 376), so I guess the problem comes from... gcc compilation. I check the C libraries, and I think I have the right libraries : gcc-4.1.1-3mdk.x86_64 libstdc++5-3.3.6-3mdk.x86_64 libstdc++6-devel-4.1.1-3mdk.x86_64 2. By downloading sources from CPAN : Error is almost the same : I get the DBI-1.607.tar.gz file. ( http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.607.tar.gz ) Then I build the makefile with 'perl Makefile.PL' Then I do 'make'. Then... crash. It seems to crash at the same moment than with CPAN automatic installation (shell output attached => manual_CPAN_crash.txt) 3. With RPM package : I get the RPM package (I'm not sure that this is the good one) : ftp://ftp.ac-toulouse.fr/Mandriva/Mandrivalinux/media/contrib/perl-DBI-Shell-11.93-3mdv2007.0.noarch.rpm but DBI still not working. I also tried this one : ftp://fr2.rpmfind.net/linux/Mandriva/official/2007.1/x86_64//media/main/release/perl-DBI-1.54-1mdv2007.1.x86_64.rpm I also tried the latest DBI version but it seem to need perl 5.10. Still no DBI :-( After all that I still have : Can't locate DBI.pm in @INC etc.etc. (shell output attached => cant_locate_dbi.txt) So I don't really know where I should search now, I just think there is a problem with the C compilation and the 64bits-linux, but I'm not sure of that... I would be glad if anyone could be able to help me. Thanks a lot ! Raphael MORLEC
[EMAIL PROTECTED] ~]$ su Mot de passe: [EMAIL PROTECTED] morlec]# perl -MCPAN -e shell CPAN: File::HomeDir loaded ok (v0.64) cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled cpan[1]> install DBI CPAN: Storable loaded ok (v2.15) Going to read /root/.cpan/Metadata Database was generated on Sat, 25 Oct 2008 22:26:52 GMT CPAN: LWP::UserAgent loaded ok (v2.033) CPAN: Time::HiRes loaded ok (v1.86) Fetching with LWP: ftp://ftp.oleane.net/pub/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.62) Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok (v2.004) ............................................................................DONE Fetching with LWP: ftp://ftp.oleane.net/pub/CPAN/modules/02packages.details.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 29 Oct 2008 23:26:51 GMT .............. New CPAN.pm version (v1.9301) available. [Currently running version is v1.9205] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. ..............................................................DONE Fetching with LWP: ftp://ftp.oleane.net/pub/CPAN/modules/03modlist.data.gz Going to read /root/.cpan/sources/modules/03modlist.data.gz ............................................................................DONE Going to write /root/.cpan/Metadata Running install for module 'DBI' Running make for T/TI/TIMB/DBI-1.607.tar.gz CPAN: Digest::SHA loaded ok (v5.44) Checksum for /root/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.607.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................--------------------------------DONE DEL(1/11): /root/.cpan/build/DBI-1.607-xgsejv DEL(2/11): /root/.cpan/build/bioperl-db-0.1-iEyuy5 DEL(3/11): /root/.cpan/build/bioperl-db-0.1-iEyuy5.yml DEL(4/11): /root/.cpan/build/UNIVERSAL-moniker-0.08-UTKTqK.yml DEL(5/11): /root/.cpan/build/UNIVERSAL-moniker-0.08-UTKTqK DEL(6/11): /root/.cpan/build/Class-Accessor-0.31-PzHSlL.yml DEL(7/11): /root/.cpan/build/Class-Accessor-0.31-PzHSlL DEL(8/11): /root/.cpan/build/Class-Trigger-0.13-f7xdjl.yml DEL(9/11): /root/.cpan/build/Class-Trigger-0.13-f7xdjl DEL(10/11): /root/.cpan/build/Clone-0.29-5Aju0A.yml DEL(11/11): /root/.cpan/build/Clone-0.29-5Aju0A DBI-1.607/ DBI-1.607/Changes DBI-1.607/dbd_xsh.h DBI-1.607/DBI.pm DBI-1.607/DBI.xs DBI-1.607/dbi_sql.h DBI-1.607/dbilogstrip.PL DBI-1.607/dbipport.h DBI-1.607/dbiprof.PL DBI-1.607/dbiproxy.PL DBI-1.607/dbivport.h DBI-1.607/DBIXS.h DBI-1.607/dbixs_rev.h DBI-1.607/dbixs_rev.pl DBI-1.607/Driver.xst DBI-1.607/Driver_xst.h DBI-1.607/ex/ DBI-1.607/ex/perl_dbi_nulls_test.pl DBI-1.607/ex/profile.pl DBI-1.607/lib/ DBI-1.607/lib/Bundle/ DBI-1.607/lib/Bundle/DBI.pm DBI-1.607/lib/DBD/ DBI-1.607/lib/DBD/DBM.pm DBI-1.607/lib/DBD/ExampleP.pm DBI-1.607/lib/DBD/File.pm DBI-1.607/lib/DBD/Gofer/ DBI-1.607/lib/DBD/Gofer/Policy/ DBI-1.607/lib/DBD/Gofer/Policy/Base.pm DBI-1.607/lib/DBD/Gofer/Policy/classic.pm DBI-1.607/lib/DBD/Gofer/Policy/pedantic.pm DBI-1.607/lib/DBD/Gofer/Policy/rush.pm DBI-1.607/lib/DBD/Gofer/Transport/ DBI-1.607/lib/DBD/Gofer/Transport/Base.pm DBI-1.607/lib/DBD/Gofer/Transport/null.pm DBI-1.607/lib/DBD/Gofer/Transport/pipeone.pm DBI-1.607/lib/DBD/Gofer/Transport/stream.pm DBI-1.607/lib/DBD/Gofer.pm DBI-1.607/lib/DBD/NullP.pm DBI-1.607/lib/DBD/Proxy.pm DBI-1.607/lib/DBD/Sponge.pm DBI-1.607/lib/DBI/ DBI-1.607/lib/DBI/Const/ DBI-1.607/lib/DBI/Const/GetInfo/ DBI-1.607/lib/DBI/Const/GetInfo/ANSI.pm DBI-1.607/lib/DBI/Const/GetInfo/ODBC.pm DBI-1.607/lib/DBI/Const/GetInfoReturn.pm DBI-1.607/lib/DBI/Const/GetInfoType.pm DBI-1.607/lib/DBI/DBD/ DBI-1.607/lib/DBI/DBD/Metadata.pm DBI-1.607/lib/DBI/DBD.pm DBI-1.607/lib/DBI/FAQ.pm DBI-1.607/lib/DBI/Gofer/ DBI-1.607/lib/DBI/Gofer/Execute.pm DBI-1.607/lib/DBI/Gofer/Request.pm DBI-1.607/lib/DBI/Gofer/Response.pm DBI-1.607/lib/DBI/Gofer/Serializer/ DBI-1.607/lib/DBI/Gofer/Serializer/Base.pm DBI-1.607/lib/DBI/Gofer/Serializer/DataDumper.pm DBI-1.607/lib/DBI/Gofer/Serializer/Storable.pm DBI-1.607/lib/DBI/Gofer/Transport/ DBI-1.607/lib/DBI/Gofer/Transport/Base.pm DBI-1.607/lib/DBI/Gofer/Transport/pipeone.pm DBI-1.607/lib/DBI/Gofer/Transport/stream.pm DBI-1.607/lib/DBI/Profile.pm DBI-1.607/lib/DBI/ProfileData.pm DBI-1.607/lib/DBI/ProfileDumper/ DBI-1.607/lib/DBI/ProfileDumper/Apache.pm DBI-1.607/lib/DBI/ProfileDumper.pm DBI-1.607/lib/DBI/ProfileSubs.pm DBI-1.607/lib/DBI/ProxyServer.pm DBI-1.607/lib/DBI/PurePerl.pm DBI-1.607/lib/DBI/SQL/ DBI-1.607/lib/DBI/SQL/Nano.pm DBI-1.607/lib/DBI/Util/ DBI-1.607/lib/DBI/Util/_accessor.pm DBI-1.607/lib/DBI/Util/CacheMemory.pm DBI-1.607/lib/DBI/W32ODBC.pm DBI-1.607/lib/Win32/ DBI-1.607/lib/Win32/DBIODBC.pm DBI-1.607/Makefile.PL DBI-1.607/MANIFEST DBI-1.607/META.yml DBI-1.607/Perl.xs DBI-1.607/README DBI-1.607/Roadmap.pod DBI-1.607/t/ DBI-1.607/t/01basics.t DBI-1.607/t/02dbidrv.t DBI-1.607/t/03handle.t DBI-1.607/t/04mods.t DBI-1.607/t/05concathash.t DBI-1.607/t/06attrs.t DBI-1.607/t/07kids.t DBI-1.607/t/08keeperr.t DBI-1.607/t/09trace.t DBI-1.607/t/10examp.t DBI-1.607/t/11fetch.t DBI-1.607/t/12quote.t DBI-1.607/t/13taint.t DBI-1.607/t/14utf8.t DBI-1.607/t/15array.t DBI-1.607/t/19fhtrace.t DBI-1.607/t/20meta.t DBI-1.607/t/30subclass.t DBI-1.607/t/35thrclone.t DBI-1.607/t/40profile.t DBI-1.607/t/41prof_dump.t DBI-1.607/t/42prof_data.t DBI-1.607/t/43prof_env.t DBI-1.607/t/50dbm.t DBI-1.607/t/60preparse.t DBI-1.607/t/65transact.t DBI-1.607/t/70callbacks.t DBI-1.607/t/72childhandles.t DBI-1.607/t/80proxy.t DBI-1.607/t/85gofer.t DBI-1.607/t/86gofer_fail.t DBI-1.607/t/87gofer_cache.t DBI-1.607/t/pod-coverage.t DBI-1.607/t/pod.t DBI-1.607/TASKS.pod DBI-1.607/test.pl DBI-1.607/TODO_2005.txt DBI-1.607/typemap CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build T/TI/TIMB/DBI-1.607.tar.gz *** Your LANG environment variable is set to 'fr_FR.UTF-8' *** This may cause problems for some perl installations. *** If you get test failures, please try again with LANG unset. *** If that then works, please email [EMAIL PROTECTED] with details *** including the output of 'perl -V' Argument "6.30_01" isn't numeric in numeric ge (>=) at Makefile.PL line 110. Your perl was compiled with gcc (version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)), okay. Creating test wrappers for DBI::PurePerl: t/zvp_01basics.t t/zvp_02dbidrv.t t/zvp_03handle.t t/zvp_04mods.t t/zvp_05concathash.t t/zvp_06attrs.t t/zvp_07kids.t t/zvp_08keeperr.t t/zvp_09trace.t t/zvp_10examp.t t/zvp_11fetch.t t/zvp_12quote.t t/zvp_13taint.t t/zvp_14utf8.t t/zvp_15array.t t/zvp_19fhtrace.t t/zvp_20meta.t t/zvp_30subclass.t t/zvp_35thrclone.t t/zvp_40profile.t t/zvp_41prof_dump.t t/zvp_42prof_data.t t/zvp_43prof_env.t t/zvp_50dbm.t t/zvp_60preparse.t t/zvp_65transact.t t/zvp_70callbacks.t t/zvp_72childhandles.t t/zvp_80proxy.t t/zvp_85gofer.t t/zvp_86gofer_fail.t t/zvp_87gofer_cache.t Creating test wrappers for DBD::Gofer: t/zvg_01basics.t t/zvg_02dbidrv.t t/zvg_03handle.t t/zvg_04mods.t t/zvg_05concathash.t t/zvg_06attrs.t t/zvg_07kids.t t/zvg_08keeperr.t t/zvg_09trace.t t/zvg_10examp.t t/zvg_11fetch.t t/zvg_12quote.t t/zvg_13taint.t t/zvg_14utf8.t t/zvg_15array.t t/zvg_19fhtrace.t t/zvg_20meta.t t/zvg_30subclass.t t/zvg_35thrclone.t t/zvg_40profile.t t/zvg_41prof_dump.t t/zvg_42prof_data.t t/zvg_43prof_env.t t/zvg_50dbm.t t/zvg_60preparse.t t/zvg_65transact.t t/zvg_70callbacks.t t/zvg_72childhandles.t t/zvg_80proxy.t t/zvg_85gofer.t t/zvg_86gofer_fail.t t/zvg_87gofer_cache.t Creating test wrappers for PurePerl & Gofer: t/zvxgp_01basics.t t/zvxgp_02dbidrv.t t/zvxgp_03handle.t t/zvxgp_04mods.t t/zvxgp_05concathash.t t/zvxgp_06attrs.t t/zvxgp_07kids.t t/zvxgp_08keeperr.t t/zvxgp_09trace.t t/zvxgp_10examp.t t/zvxgp_11fetch.t t/zvxgp_12quote.t t/zvxgp_13taint.t t/zvxgp_14utf8.t t/zvxgp_15array.t t/zvxgp_19fhtrace.t t/zvxgp_20meta.t t/zvxgp_30subclass.t t/zvxgp_35thrclone.t t/zvxgp_40profile.t t/zvxgp_41prof_dump.t t/zvxgp_42prof_data.t t/zvxgp_43prof_env.t t/zvxgp_50dbm.t t/zvxgp_60preparse.t t/zvxgp_65transact.t t/zvxgp_70callbacks.t t/zvxgp_72childhandles.t t/zvxgp_80proxy.t t/zvxgp_85gofer.t t/zvxgp_86gofer_fail.t t/zvxgp_87gofer_cache.t Checking if your kit is complete... Looks good I see you're using perl 5.008008 on x86_64-linux, okay. Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers. Writing Makefile for DBI /usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm /usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Roadmap.pm cp Roadmap.pod blib/lib/DBI/Roadmap.pm cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp Roadmap.pod blib/lib/Roadmap.pod cp dbixs_rev.pl blib/lib/dbixs_rev.pl cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBD/File.pm blib/lib/DBD/File.pm cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm cp dbivport.h blib/arch/auto/DBI/dbivport.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm cp DBI.pm blib/lib/DBI.pm cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp TASKS.pod blib/lib/TASKS.pod cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/bin/perl5.8.8 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DVERSION=\"1.607\" -DXS_VERSION=\"1.607\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DVERSION=\"1.607\" -DXS_VERSION=\"1.607\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS DBI.c DBI.xs: In function âset_err_svâ: DBI.xs:623: warning: value computed is not used Running Mkbootstrap for DBI () chmod 644 DBI.bs rm -f blib/arch/auto/DBI/DBI.so gcc -shared -L/usr/local/lib64 DBI.o -o blib/arch/auto/DBI/DBI.so \ \ /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [blib/arch/auto/DBI/DBI.so] Erreur 1 TIMB/DBI-1.607.tar.gz /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 Failed during this command: TIMB/DBI-1.607.tar.gz : make NO cpan[2]> *** glibc detected *** perl: double free or corruption (!prev): 0x0000000001084b30 *** ======= Backtrace: ========= /lib64/libc.so.6[0x2b02145da3a3] /lib64/libc.so.6[0x2b02145dbc58] /lib64/libc.so.6(__libc_realloc+0x125)[0x2b02145dc885] /lib64/libc.so.6[0x2b021459f3b1] /lib64/libreadline.so.5(sh_set_lines_and_columns+0x5a)[0x2b0215035f2a] /lib64/libreadline.so.5(_rl_get_screen_size+0xad)[0x2b021502f09d] /lib64/libreadline.so.5(rl_resize_terminal+0x33)[0x2b021502f7c3] /lib64/libreadline.so.5(readline_internal_char+0x1e)[0x2b021501cb9e] /lib64/libreadline.so.5(readline+0x7b)[0x2b021501cd9b] /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Term/ReadLine/Gnu/Gnu.so(XS_Term__ReadLine__Gnu__XS_rl_readline+0x89)[0x2b0214f008c9] /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so(Perl_pp_entersub+0x3fa)[0x2b0213e1243a] /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so(Perl_runops_standard+0x1a)[0x2b0213e0bbba] /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so(perl_run+0x12c)[0x2b0213dbf2bc] perl(main+0xbc)[0x40164c] /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b021458ae64] perl[0x4014f9] ======= Memory map: ======== 00400000-00403000 r-xp 00000000 08:05 67109052 /usr/bin/perl5.8.8 00502000-00503000 rw-p 00002000 08:05 67109052 /usr/bin/perl5.8.8 00503000-091ed000 rw-p 00503000 00:00 0 [heap] 2b0213c6e000-2b0213c88000 r-xp 00000000 08:05 17704376 /lib64/ld-2.4.so 2b0213c88000-2b0213c8a000 rw-p 2b0213c88000 00:00 0 2b0213d87000-2b0213d88000 r--p 00019000 08:05 17704376 /lib64/ld-2.4.so 2b0213d88000-2b0213d89000 rw-p 0001a000 08:05 17704376 /lib64/ld-2.4.so 2b0213d89000-2b0213e9d000 r-xp 00000000 08:05 118090053 /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so 2b0213e9d000-2b0213f9c000 ---p 00114000 08:05 118090053 /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so 2b0213f9c000-2b0213fa5000 rw-p 00113000 08:05 118090053 /usr/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so 2b0213fa5000-2b0213fa8000 rw-p 2b0213fa5000 00:00 0 2b0213fa8000-2b0213fa9000 r--p 00000000 08:05 67169123 /usr/share/locale/fr_FR.UTF-8/LC_IDENTIFICATION 2b0213fa9000-2b0213fb0000 r--s 00000000 08:05 53743410 /usr/lib64/gconv/gconv-modules.cache 2b0213fb0000-2b0213fb1000 r--p 00000000 08:05 201332197 /usr/share/locale/fr_FR.UTF-8/LC_MEASUREMENT 2b0213fb1000-2b0213fb2000 r--p 00000000 08:05 67169124 /usr/share/locale/fr_FR.UTF-8/LC_TELEPHONE 2b0213fb2000-2b0213fb3000 r--p 00000000 08:05 67169125 /usr/share/locale/fr_FR.UTF-8/LC_ADDRESS 2b0213fb3000-2b0213fb4000 r--p 00000000 08:05 201332195 /usr/share/locale/fr_FR.UTF-8/LC_NAME 2b0213fb4000-2b0213fb5000 r--p 00000000 08:05 201332193 /usr/share/locale/fr_FR.UTF-8/LC_PAPER 2b0213fb5000-2b0213fb6000 r--p 00000000 08:05 218103941 /usr/share/locale/fr_FR.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES 2b0213fb6000-2b0213fb7000 r--p 00000000 08:05 201332187 /usr/share/locale/fr_FR.UTF-8/LC_MONETARY 2b0213fc5000-2b0213fd8000 r-xp 00000000 08:05 16777369 /lib64/libnsl-2.4.so 2b0213fd8000-2b02140d8000 ---p 00013000 08:05 16777369 /lib64/libnsl-2.4.so 2b02140d8000-2b02140da000 rw-p 00013000 08:05 16777369 /lib64/libnsl-2.4.so 2b02140da000-2b02140dc000 rw-p 2b02140da000 00:00 0 2b02140dc000-2b02140de000 r-xp 00000000 08:05 16777365 /lib64/libdl-2.4.so 2b02140de000-2b02141de000 ---p 00002000 08:05 16777365 /lib64/libdl-2.4.so 2b02141de000-2b02141e0000 rw-p 00002000 08:05 16777365 /lib64/libdl-2.4.so 2b02141e0000-2b0214235000 r-xp 00000000 08:05 16777367 /lib64/libm-2.4.so 2b0214235000-2b0214334000 ---p 00055000 08:05 16777367 /lib64/libm-2.4.so 2b0214334000-2b0214336000 rw-pAbandon [EMAIL PROTECTED] morlec]#
[EMAIL PROTECTED] DBI-1.607]$ perl Makefile.PL *** Your LANG environment variable is set to 'fr_FR.UTF-8' *** This may cause problems for some perl installations. *** If you get test failures, please try again with LANG unset. *** If that then works, please email [EMAIL PROTECTED] with details *** including the output of 'perl -V' Argument "6.30_01" isn't numeric in numeric ge (>=) at Makefile.PL line 110. Your perl was compiled with gcc (version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)), okay. Creating test wrappers for DBI::PurePerl: t/zvp_01basics.t t/zvp_02dbidrv.t t/zvp_03handle.t t/zvp_04mods.t t/zvp_05concathash.t t/zvp_06attrs.t t/zvp_07kids.t t/zvp_08keeperr.t t/zvp_09trace.t t/zvp_10examp.t t/zvp_11fetch.t t/zvp_12quote.t t/zvp_13taint.t t/zvp_14utf8.t t/zvp_15array.t t/zvp_19fhtrace.t t/zvp_20meta.t t/zvp_30subclass.t t/zvp_35thrclone.t t/zvp_40profile.t t/zvp_41prof_dump.t t/zvp_42prof_data.t t/zvp_43prof_env.t t/zvp_50dbm.t t/zvp_60preparse.t t/zvp_65transact.t t/zvp_70callbacks.t t/zvp_72childhandles.t t/zvp_80proxy.t t/zvp_85gofer.t t/zvp_86gofer_fail.t t/zvp_87gofer_cache.t Creating test wrappers for DBD::Gofer: t/zvg_01basics.t t/zvg_02dbidrv.t t/zvg_03handle.t t/zvg_04mods.t t/zvg_05concathash.t t/zvg_06attrs.t t/zvg_07kids.t t/zvg_08keeperr.t t/zvg_09trace.t t/zvg_10examp.t t/zvg_11fetch.t t/zvg_12quote.t t/zvg_13taint.t t/zvg_14utf8.t t/zvg_15array.t t/zvg_19fhtrace.t t/zvg_20meta.t t/zvg_30subclass.t t/zvg_35thrclone.t t/zvg_40profile.t t/zvg_41prof_dump.t t/zvg_42prof_data.t t/zvg_43prof_env.t t/zvg_50dbm.t t/zvg_60preparse.t t/zvg_65transact.t t/zvg_70callbacks.t t/zvg_72childhandles.t t/zvg_80proxy.t t/zvg_85gofer.t t/zvg_86gofer_fail.t t/zvg_87gofer_cache.t Creating test wrappers for PurePerl & Gofer: t/zvxgp_01basics.t t/zvxgp_02dbidrv.t t/zvxgp_03handle.t t/zvxgp_04mods.t t/zvxgp_05concathash.t t/zvxgp_06attrs.t t/zvxgp_07kids.t t/zvxgp_08keeperr.t t/zvxgp_09trace.t t/zvxgp_10examp.t t/zvxgp_11fetch.t t/zvxgp_12quote.t t/zvxgp_13taint.t t/zvxgp_14utf8.t t/zvxgp_15array.t t/zvxgp_19fhtrace.t t/zvxgp_20meta.t t/zvxgp_30subclass.t t/zvxgp_35thrclone.t t/zvxgp_40profile.t t/zvxgp_41prof_dump.t t/zvxgp_42prof_data.t t/zvxgp_43prof_env.t t/zvxgp_50dbm.t t/zvxgp_60preparse.t t/zvxgp_65transact.t t/zvxgp_70callbacks.t t/zvxgp_72childhandles.t t/zvxgp_80proxy.t t/zvxgp_85gofer.t t/zvxgp_86gofer_fail.t t/zvxgp_87gofer_cache.t Checking if your kit is complete... Looks good I see you're using perl 5.008008 on x86_64-linux, okay. Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers. Writing Makefile for DBI [EMAIL PROTECTED] DBI-1.607]$ make /usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm /usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Roadmap.pm cp Roadmap.pod blib/lib/DBI/Roadmap.pm cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp Roadmap.pod blib/lib/Roadmap.pod cp dbixs_rev.pl blib/lib/dbixs_rev.pl cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBD/File.pm blib/lib/DBD/File.pm cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm cp dbivport.h blib/arch/auto/DBI/dbivport.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm cp DBI.pm blib/lib/DBI.pm cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp TASKS.pod blib/lib/TASKS.pod cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/bin/perl5.8.8 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DVERSION=\"1.607\" -DXS_VERSION=\"1.607\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DVERSION=\"1.607\" -DXS_VERSION=\"1.607\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS DBI.c DBI.xs: In function âset_err_svâ: DBI.xs:623: warning: value computed is not used Running Mkbootstrap for DBI () chmod 644 DBI.bs rm -f blib/arch/auto/DBI/DBI.so gcc -shared -L/usr/local/lib64 DBI.o -o blib/arch/auto/DBI/DBI.so \ \ /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [blib/arch/auto/DBI/DBI.so] Erreur 1
[EMAIL PROTECTED] Desktop]# perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.17-2mdv, archname=x86_64-linux uname='linux deborah.mandriva.com 2.6.17-2mdv #1 smp thu aug 10 19:29:16 edt 2006 x86_64 amd engineering sample 00 gnulinux ' config_args='-des -Dinc_version_list=5.8.7 5.8.7/x86_64-linux 5.8.6 5.8.6/x86_64-linux 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=x86_64-linux -Dcc=gcc -Doptimize=-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost [EMAIL PROTECTED] [EMAIL PROTECTED] -Dd_dosuid -Ud_csh -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.1 20060724 (prerelease) (4.1.1-3mdk)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib64' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Locally applied patches: Mandriva Linux patches Built under linux Compiled at Sep 8 2006 17:01:36 @INC: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .
[EMAIL PROTECTED] Desktop]# perl -e 'use DBI;' Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1.