64位机器安装DBI报错,求助【追加个问题吧】
King_Leo
|
1#
发表于 2008-04-15 15:20
|
King_Leo
|
1#
King_Leo 发表于 2008-04-15 15:20
64位机器安装DBI报错,求助【追加个问题吧】
机器上安装了mysql并且可以通过phpMyadmin正常使用
perl 版本是5.8.8 现在安装DBI-1.604报错: 信息如下: perl Makefile.PL make make test 一路都没什么错误 make install Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/DBIXS.h Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/dbixs_rev.h Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/DBI.a Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI/Changes.pmInstalling /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI/Profile.pm Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI/ProxyServer.pm Installing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBD/Gofer/Transport/stream.pm Installing /usr/local/share/man/man1/dbiproxy.1 Installing /usr/local/share/man/man3/DBI.3 Installing /usr/local/share/man/man3/DBI::Profile.3 Installing /usr/local/share/man/man3/DBI::ProxyServer.3 Installing /usr/local/bin/dbiproxy Writing /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/.packlist Appending installation info to /usr/local/lib/perl5/5.8.8/x86_64-linux/perllocal.pod 执行测试脚本: perl -e "use DBI"; Can't load module DBI, dynamic loading not available in this perl. (You may need to build a new perl executable which either supports dynamic loading or has the DBI module statically linked into it.) at /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm line 263 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm line 263. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. 提到的文件是存在的:ll /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm -r--r--r-- 1 root root 290287 Mar 24 22:06 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm 请问我这安装过程有什么问题吗,前段时间在普通32位linux上安装还是很正常的。。。 多谢各位了 追加的问题: 系统自带的perl5.8.5 我重装成了5.8.8 编译安装时遇到些问题,修改了编译文件: rm -f config.sh Policy.sh make clean sh Configure vi Makefile 更改一个设置:libs = -lm make make test make install 我不清楚这个选项的作用,虽然可以安装了,但不知道有什么影响 现在的问题是DBI GD都装不上,显示上边的问题 |
King_Leo
|
2#
King_Leo 发表于 2008-04-15 16:15
64位怎么这么多麻烦。。。。。
|
King_Leo
|
3#
King_Leo 发表于 2008-04-15 21:03
求助
|
flw
|
4#
flw 发表于 2008-04-15 21:05
重新 make test,把结果发上来给我看。
[Copy to clipboard] [ - ]
CODE:
Can't load module DBI, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports dynamic loading or has the DBI module statically linked into it.) 其实上面已经说的很清楚了。 |
smonkey0
|
5#
smonkey0 发表于 2008-04-15 21:10
我遇到过这个问题,好像是编译时要加此参数。而且就算你装好了。如果是用oracle的话,到时DBD-oracle 的驱动也是不能用的。。64位麻烦一大堆
|
King_Leo
|
6#
King_Leo 发表于 2008-04-15 21:20
从头开始,都贴出来吧
make的时候就已经报错了 同样的错误 我就是不知道那个错误什么意思,如何解决。。。。 曾经查到过一个这个 perl Makefile.PL LINKTYPE=static 也试过,好像没什么作用 make clean rm -rf Perl.c DBI.c DBI-1.604 Perl.xsi t/zv*_*.t dbi__null_test_tmp* dbiproxy dbiprof dbilogstrip dbiproxy.*log dbitrace.log dbi.prof ndtest.prt ./blib Makefile.aperl blib/arch/auto/DBI/extralibs.all blib/arch/auto/DBI/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *.o *.a perl.exe perl perl DBI.bs DBI.bso DBI.def libDBI.def DBI.exp DBI.x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9] mv Makefile Makefile.old > /dev/null 2>&1 perl Makefile.PL *** Note: The optional PlRPC-modules (RPC:lServer etc) are not installed. If you want to use the DBD:roxy driver and DBI:roxyServer modules, then you'll need to install the RPC:lServer, RPC:lClient, Storable and Net:aemon modules. The CPAN Bundle:BI may help you. You can install them any time after installing the DBI. You do *not* need these modules for typical DBI usage. Optional modules are available from any CPAN mirror, in particular http://search.cpan.org/ http://www.perl.com/CPAN/modules/by-module http://www.perl.org/CPAN/modules/by-module ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module Your perl was compiled with gcc (version 3.4.5 20051201 (Red Hat 3.4.5-2)), okay. Creating test wrappers for DBI:urePerl: t/zvp_01basics.t t/zvp_02dbidrv.t t/zvp_03handle.t t/zvp_04mods.t t/zvp_05thrclone.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_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_05thrclone.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_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_05thrclone.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_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.008005 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 make /usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm /usr/local/bin/perl "-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/local/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.604\" -DXS_VERSION=\"1.604\" "-I/usr/local/lib/perl5/5.8.5/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/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.604\" -DXS_VERSION=\"1.604\" "-I/usr/local/lib/perl5/5.8.5/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 rm -rf blib/arch/auto/DBI/DBI.a /usr/bin/ar cr blib/arch/auto/DBI/DBI.a DBI.o && : blib/arch/auto/DBI/DBI.a chmod 755 blib/arch/auto/DBI/DBI.a /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof Extracted dbiprof from dbiprof.PL with variable substitutions. Can't load module DBI, dynamic loading not available in this perl. (You may need to build a new perl executable which either supports dynamic loading or has the DBI module statically linked into it.) at /usr/local/src/DBI-1.604/blib/lib/DBI.pm line 263 BEGIN failed--compilation aborted at /usr/local/src/DBI-1.604/blib/lib/DBI.pm line 263. Compilation failed in require at /usr/local/src/DBI-1.604/blib/lib/DBI/Profile.pm line 679. BEGIN failed--compilation aborted at /usr/local/src/DBI-1.604/blib/lib/DBI/Profile.pm line 679. Compilation failed in require at /usr/local/src/DBI-1.604/blib/lib/DBI/ProfileData.pm line 79. BEGIN failed--compilation aborted at /usr/local/src/DBI-1.604/blib/lib/DBI/ProfileData.pm line 79. Compilation failed in require at dbiprof line 8. BEGIN failed--compilation aborted at dbiprof line 8. cp dbiprof blib/script/dbiprof /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. dbiproxy syntax OK cp dbiproxy blib/script/dbiproxy /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip Extracted dbilogstrip from dbilogstrip.PL with variable substitutions. dbilogstrip syntax OK cp dbilogstrip blib/script/dbilogstrip /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbilogstrip Manifying blib/man1/dbiprof.1 Manifying blib/man1/dbiproxy.1 Manifying blib/man1/dbilogstrip.1 Manifying blib/man3/DBI::Gofer::Response.3 Manifying blib/man3/DBD:roxy.3 Manifying blib/man3/DBI::Gofer::Transport::Base.3 Manifying blib/man3/DBD:BM.3 Manifying blib/man3/DBI::Gofer::Serializer:ataDumper.3 Manifying blib/man3/DBI::Const::GetInfoType.3 Manifying blib/man3/Roadmap.3 Manifying blib/man3/DBI:BD::Metadata.3 Manifying blib/man3/DBI::Const::GetInfo::ODBC.3 Manifying blib/man3/DBD::Gofer::Transport::pipeone.3 Manifying blib/man3/DBI:rofileDumper::Apache.3 Manifying blib/man3/DBD::File.3 Manifying blib/man3/DBI::Util::CacheMemory.3 Manifying blib/man3/DBI:rofileSubs.3 Manifying blib/man3/DBD::Gofer.3 Manifying blib/man3/DBD::Gofer::Transport::Base.3 Manifying blib/man3/DBI::FAQ.3 Manifying blib/man3/DBD::Gofer:olicy::rush.3 Manifying blib/man3/DBI::SQL::Nano.3 Manifying blib/man3/DBI::Gofer::Request.3 Manifying blib/man3/DBI::Const::GetInfo::ANSI.3 Manifying blib/man3/DBD::Gofer::Transport::stream.3 Manifying blib/man3/DBD::Gofer::Policy::classic.3 Manifying blib/man3/DBI::Gofer::Transport::stream.3 Manifying blib/man3/DBI::Gofer::Serializer::Storable.3 Manifying blib/man3/DBI.3 Manifying blib/man3/DBD::Gofer::Policy::Base.3 Manifying blib/man3/DBI::Const::GetInfoReturn.3 Manifying blib/man3/DBD::Sponge.3 Manifying blib/man3/DBD::Gofer::Policy::pedantic.3 Manifying blib/man3/DBI::Gofer::Transport::pipeone.3 Manifying blib/man3/DBI::W32ODBC.3 Manifying blib/man3/DBD::Gofer::Transport::null.3 Manifying blib/man3/Bundle:BI.3 Manifying blib/man3/TASKS.3 Manifying blib/man3/DBI::Profile.3 Manifying blib/man3/DBI::ProfileDumper.3 Manifying blib/man3/DBI::Gofer::Serializer::Base.3 Manifying blib/man3/DBI::ProxyServer.3 Manifying blib/man3/DBI::Gofer::Execute.3 Manifying blib/man3/DBI:BD.3 Manifying blib/man3/Win32:BIODBC.3 Manifying blib/man3/DBI::PurePerl.3 Manifying blib/man3/DBI::ProfileData.3 |
King_Leo
|
7#
King_Leo 发表于 2008-04-15 21:20
make test
Writing "Makefile.aperl" for this perl *** Note: The optional PlRPC-modules (RPC::PlServer etc) are not installed. If you want to use the DBD::Proxy driver and DBI::ProxyServer modules, then you'll need to install the RPC::PlServer, RPC::PlClient, Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you. You can install them any time after installing the DBI. You do *not* need these modules for typical DBI usage. Optional modules are available from any CPAN mirror, in particular http://search.cpan.org/ http://www.perl.com/CPAN/modules/by-module http://www.perl.org/CPAN/modules/by-module ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module Your perl was compiled with gcc (version 3.4.5 20051201 (Red Hat 3.4.5-2)), 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_05thrclone.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_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_05thrclone.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_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_05thrclone.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_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 I see you're using perl 5.008005 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.aperl for DBI make -f Makefile.aperl perl make[1]: Entering directory `/usr/local/src/DBI-1.604' Writing perlmain.c cd . && cc -c "-I/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE" \ -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 \ -DVERSION=\"1.604\" \ -DXS_VERSION=\"1.604\" "-I/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE" perlmain.c cc -c -fno-strict-aliasing -pipe -I/usr/local/include-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.604\" -DXS_VERSION=\"1.604\" "-I/usr/local/lib/perl5/5.8.5/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 rm -rf blib/arch/auto/DBI/DBI.a /usr/bin/ar cr blib/arch/auto/DBI/DBI.a DBI.o && : blib/arch/auto/DBI/DBI.a chmod 755 blib/arch/auto/DBI/DBI.a cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/B/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/B/C/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/ByteLoader/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Cwd/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Data/Dumper/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/DProf/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/PPPort/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/Peek/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Digest/MD5/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/DynaLoader/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Byte/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/CN/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/EBCDIC/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/JP/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/KR/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Symbol/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/TW/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Unicode/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Fcntl/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/File/Glob/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Filter/Util/Call/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/I18N/Langinfo/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/IO/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/IPC/SysV/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/List/Util/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/MIME/Base64/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Opcode/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/POSIX/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/encoding/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/scalar/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/via/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/SDBM_File/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Socket/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Storable/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Sys/Hostname/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Sys/Syslog/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Time/HiRes/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Unicode/Normalize/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/attrs/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/re/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/threads/shared/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/threads/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cat blib/arch/auto/DBI/extralibs.ld >> blib/arch/auto/DBI/extralibs.all cc -L/usr/local/lib -o perl -O2 ./perlmain.o DBI.oblib/arch/auto/DBI/DBI.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/threads/threads.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/threads/shared/shared.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/re/re.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/attrs/attrs.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Unicode/Normalize/Normalize.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Time/HiRes/HiRes.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Sys/Syslog/Syslog.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Sys/Hostname/Hostname.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Storable/Storable.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Socket/Socket.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/SDBM_File/SDBM_File.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/via/via.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/scalar/scalar.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/PerlIO/encoding/encoding.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/POSIX/POSIX.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Opcode/Opcode.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/MIME/Base64/Base64.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/List/Util/Util.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/IPC/SysV/SysV.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/IO/IO.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/I18N/Langinfo/Langinfo.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Filter/Util/Call/Call.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/File/Glob/Glob.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Fcntl/Fcntl.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Unicode/Unicode.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/TW/TW.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Symbol/Symbol.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/KR/KR.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/JP/JP.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Encode.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/EBCDIC/EBCDIC.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/CN/CN.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Encode/Byte/Byte.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/DynaLoader/DynaLoader.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Digest/MD5/MD5.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/Peek/Peek.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/PPPort/PPPort.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Devel/DProf/DProf.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Data/Dumper/Dumper.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/Cwd/Cwd.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/ByteLoader/ByteLoader.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/B/C/C.a/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/B/B.a/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE/libperl.a `catblib/arch/auto/DBI/extralibs.all` /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/POSIX/POSIX.a(POSIX.o)(.text+0x9e4c): In function `XS_POSIX_tmpnam': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' To install the new "perl" binary, call make -f Makefile.aperl inst_perl MAP_TARGET=perl To remove the intermediate files say |
King_Leo
|
8#
King_Leo 发表于 2008-04-15 21:22
make -f Makefile.aperl map_clean
make[1]: Leaving directory `/usr/local/src/DBI-1.604' PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basics................ok 4/130 skipped: developer tests t/02dbidrv................ok t/03handle................ok t/04mods..................ok t/05thrclone..............skipped all skipped: this linux perl 5.008005 not supported for DBI iThreads t/06attrs.................ok t/07kids..................ok t/08keeperr...............ok t/09trace.................ok t/10examp.................ok t/11fetch.................ok t/12quote.................ok t/13taint.................ok t/14utf8..................ok t/15array.................ok t/19fhtrace...............ok t/20meta..................ok t/30subclass..............ok t/40profile...............ok t/41prof_dump.............ok 1/15 skipped: developer-only test t/42prof_data.............ok t/43prof_env..............ok t/50dbm...................ok t/60preparse..............ok t/65transact..............ok t/70callbacks.............ok t/72childhandles..........ok t/80proxy.................skipped all skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm) t/85gofer.................ok 18/234 skipped: caching of metadata methods returning sth not yet implemented t/86gofer_fail............ok t/87gofer_cache...........ok t/pod-coverage............skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.....................skipped all skipped: Test::Pod 1.00 required for testing POD t/zvg_01basics............ok 4/130 skipped: developer tests t/zvg_02dbidrv............ok t/zvg_03handle............ok 44/137 skipped: various reasons t/zvg_04mods..............ok t/zvg_05thrclone..........skipped all skipped: this linux perl 5.008005 not supported for DBI iThreads t/zvg_06attrs.............ok 2/145 skipped: drh->dbh->sth inheritance test skipped with DBI_AUTOPROXY t/zvg_07kids..............ok t/zvg_08keeperr...........ok t/zvg_09trace.............ok t/zvg_10examp.............ok t/zvg_11fetch.............ok t/zvg_12quote.............ok 1/10 skipped: Can't test alternate quote_identifier logic with DBI_AUTOPROXY t/zvg_13taint.............skipped all skipped: Taint attribute tests not functional with DBI_AUTOPROXY t/zvg_14utf8..............ok t/zvg_15array.............ok t/zvg_19fhtrace...........ok t/zvg_20meta..............ok t/zvg_30subclass..........ok t/zvg_40profile...........ok t/zvg_41prof_dump.........ok 1/15 skipped: developer-only test t/zvg_42prof_data.........ok t/zvg_43prof_env..........ok t/zvg_50dbm...............ok 2/12 skipped: Can't set attributes after connect using DBD::Gofer t/zvg_60preparse..........ok t/zvg_65transact..........skipped all skipped: Transactions not supported by DBD::Gofer t/zvg_70callbacks.........ok t/zvg_72childhandles......ok 2/14 skipped: slow tests avoided when using DBD::Gofer t/zvg_80proxy.............skipped all skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm) t/zvg_85gofer.............ok 45/234 skipped: various reasons t/zvg_86gofer_fail........skipped all skipped: Gofer DBI_AUTOPROXY t/zvg_87gofer_cache.......skipped all skipped: Gofer DBI_AUTOPROXY t/zvp_01basics............ok 6/130 skipped: various reasons t/zvp_02dbidrv............ok 10/51 skipped: various reasons t/zvp_03handle............ok 57/137 skipped: various reasons t/zvp_04mods..............ok t/zvp_05thrclone..........skipped all skipped: this linux perl 5.008005 not supported for DBI iThreads t/zvp_06attrs.............ok 7/145 skipped: various reasons t/zvp_07kids..............skipped all skipped: $h->{Kids} attribute not supported for DBI::PurePerl t/zvp_08keeperr...........ok t/zvp_09trace.............ok t/zvp_10examp.............ok 3/208 skipped: inner/outer handles not fully supported for DBI::PurePerl t/zvp_11fetch.............ok t/zvp_12quote.............ok t/zvp_13taint.............skipped all skipped: Taint attributes not supported with DBI::PurePerl t/zvp_14utf8..............ok t/zvp_15array.............ok t/zvp_19fhtrace...........ok t/zvp_20meta..............ok t/zvp_30subclass..........ok t/zvp_40profile...........skipped all skipped: profiling not supported for DBI::PurePerl t/zvp_41prof_dump.........skipped all skipped: profiling not supported for DBI::PurePerl t/zvp_42prof_data.........skipped all skipped: profiling not supported for DBI::PurePerl t/zvp_43prof_env..........skipped all skipped: profiling not supported for DBI::PurePerl t/zvp_50dbm...............ok t/zvp_60preparse..........skipped all skipped: preparse not supported for DBI::PurePerl t/zvp_65transact..........ok t/zvp_70callbacks.........skipped all skipped: $h->{Callbacks} attribute not supported for DBI::PurePerl t/zvp_72childhandles......ok t/zvp_80proxy.............skipped all skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm) t/zvp_85gofer.............ok 18/234 skipped: caching of metadata methods returning sth not yet implemented t/zvp_86gofer_fail........skipped all skipped: requires Callbacks which are not supported with PurePerl t/zvp_87gofer_cache.......ok t/zvxgp_01basics..........ok 6/130 skipped: various reasons t/zvxgp_02dbidrv..........ok 10/51 skipped: various reasons t/zvxgp_03handle..........ok 76/137 skipped: various reasons t/zvxgp_04mods............ok t/zvxgp_05thrclone........skipped all skipped: this linux perl 5.008005 not supported for DBI iThreads t/zvxgp_06attrs...........ok 9/145 skipped: various reasons t/zvxgp_07kids............skipped all skipped: $h->{Kids} attribute not supported for DBI::PurePerl t/zvxgp_08keeperr.........ok t/zvxgp_09trace...........ok t/zvxgp_10examp...........ok 3/208 skipped: inner/outer handles not fully supported for DBI::PurePerl t/zvxgp_11fetch...........ok t/zvxgp_12quote...........ok 1/10 skipped: Can't test alternate quote_identifier logic with DBI_AUTOPROXY t/zvxgp_13taint...........skipped all skipped: Taint attributes not supported with DBI::PurePerl t/zvxgp_14utf8............ok t/zvxgp_15array...........ok t/zvxgp_19fhtrace.........ok t/zvxgp_20meta............ok t/zvxgp_30subclass........ok t/zvxgp_40profile.........skipped all skipped: profiling not supported for DBI::PurePerl t/zvxgp_41prof_dump.......skipped all skipped: profiling not supported for DBI::PurePerl t/zvxgp_42prof_data.......skipped all skipped: profiling not supported for DBI::PurePerl t/zvxgp_43prof_env........skipped all skipped: profiling not supported for DBI::PurePerl t/zvxgp_50dbm.............ok 2/12 skipped: Can't set attributes after connect using DBD::Gofer t/zvxgp_60preparse........skipped all skipped: preparse not supported for DBI::PurePerl t/zvxgp_65transact........skipped all skipped: Transactions not supported by DBD::Gofer t/zvxgp_70callbacks.......skipped all skipped: $h->{Callbacks} attribute not supported for DBI::PurePerl t/zvxgp_72childhandles....ok 2/14 skipped: slow tests avoided when using DBD::Gofer t/zvxgp_80proxy...........skipped all skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm) t/zvxgp_85gofer...........ok 45/234 skipped: various reasons t/zvxgp_86gofer_fail......skipped all skipped: requires Callbacks which are not supported with PurePerl t/zvxgp_87gofer_cache.....skipped all skipped: Gofer DBI_AUTOPROXY All tests successful, 34 tests and 379 subtests skipped. Files=126, Tests=5629, 25 wallclock secs (19.65 cusr + 4.08 csys = 23.73 CPU) PERL_DL_NONLAZY=1 ./perl "-Iblib/lib" "-Iblib/arch" test.pl test.pl DBI test application $Revision: 9451 $ Switch: DBI 1.604 by Tim Bunce, 1.604 Available Drivers: ADO, DBM, ExampleP, File, Gofer, Multiplex, Proxy, Sponge dbi:ExampleP:: testing 3 sets of 20 connections: Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... connect 20 and disconnect them, 3 times: 0.0020s / 60 = 0.0000s Testing handle creation speed... 71428 NullP sth/s perl 5.008005 x86_64-linux (gcc 3.4.5 -O2) 0.000014s test.pl done |
cai120120
|
9#
cai120120 发表于 2008-04-15 21:37
If you really don't want to rebuild perl, the answer is "no".
However, I can hardly see an advantage of a Perl without support for dynamic modules? I'd really recommend you use a Perl as distributed with your Linux version. Besides, you overestimate the amount of work being done for creating a statically linked Perl. With a dynamically linked Perl you do a perl Makefile.PL make make test make install To get a statically linked Perl you do instead perl Makefile.PL LINKTYPE=static make make test make install make installperl for both DBI and the Msql-Mysql-modules. Bye, Jochen |
King_Leo
|
10#
King_Leo 发表于 2008-04-15 21:47
多谢楼上,似乎是一样的问题
我还是不明白 Can't load module DBI, dynamic loading not available in this perl. (You may need to build a new perl executable which either supports dynamic loading or has the DBI module statically linked into it.) 这个什么意思 |