Hi nathanael, I use perl5.6.1(symbolic link to perl) Makefile.PL, make, make test, make install to install DBI-1.29, I am attaching the results of installation. BTW, do you know how to install these modules.
When I install Msql-Mysql-1.2219.tar.gz, there is failed message when I 'make test': # make test PERL_DL_NONLAZY=1 /usr/bin/perl5.6.1 -I../blib/arch -I../blib/lib -I/compbio/programs/perl-5.6.1/l ib/5.6.1/alpha-dec_osf -I/compbio/programs/perl-5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00base............ok t/10dsnlist.........ok t/20createdrop......ok t/30insertfetch.....ok t/40bindparam.......ok t/40blobs...........ok t/40listfields......ok t/40nulls...........ok t/40numrows.........ok t/50chopblanks......ok t/50commit..........ok, 14/30 skipped: No transactions t/60leaks...........skipped test on this platform t/ak-dbd............ok 50/90DBD::mysql::st FETCH failed: statement contains no result at t/ak-dbd. t line 286. t/ak-dbd............ok t/dbdadmin..........ok All tests successful, 1 test and 14 subtests skipped. Files=14, Tests=290, 22 wallclock secs ( 1.35 cusr + 0.42 csys = 1.77 CPU) # Thank you very much, Grace The following is for DBI-1.29 # perl5.6.1 Makefile.PL *** 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://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 Creating extra DBI::PurePerl test: t/zz_01basics_pp.t Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t Creating extra DBI::PurePerl test: t/zz_04mods_pp.t Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t Creating extra DBI::PurePerl test: t/zz_10examp_pp.t Creating extra DBI::PurePerl test: t/zz_15array_pp.t Creating extra DBI::PurePerl test: t/zz_20meta_pp.t Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t Creating extra DBI::PurePerl test: t/zz_40profile_pp.t Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t Creating extra DBI::PurePerl test: t/zz_70shell_pp.t Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t Checking if your kit is complete... Looks good Writing Makefile for DBI 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. # make (it seems good) # make test PERL_DL_NONLAZY=1 /usr/bin/perl5.6.1 -Iblib/arch -Iblib/lib -I/compbio/programs/perl-5.6.1/lib/5.6 ..1/alpha-dec_osf -I/compbio/programs/perl-5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verb ose); $verbose=0; runtests @ARGV;' t/*.t t/01basics..........ok t/02dbidrv..........ok t/03hleak...........ok t/04mods............ok t/05thrclone........skipped: perl 5.006001 not configured to support iThreads t/10examp...........ok t/15array...........ok t/20meta............ok t/30subclass........ok t/40profile.........ok t/60preparse........ok t/70shell...........ok t/80proxy...........skipped: modules required for proxy are probably not installed t/zz_01basics_pp.... Using DBI::PurePerl (DBI_PUREPERL=2) t/zz_01basics_pp....ok t/zz_02dbidrv_pp....ok t/zz_03hleak_pp.....ok t/zz_04mods_pp......ok t/zz_05thrclone_pp..skipped: perl 5.006001 not configured to support iThreads t/zz_10examp_pp.....ok 52/215 Taint attribute tests skipped t/zz_10examp_pp.....ok t/zz_15array_pp.....ok t/zz_20meta_pp......ok t/zz_30subclass_pp..ok t/zz_40profile_pp...skipped: profiling not supported for DBI::PurePerl t/zz_60preparse_pp..skipped: preparse not supported for DBI::PurePerl t/zz_70shell_pp.....ok t/zz_80proxy_pp.....skipped: modules required for proxy are probably not installed All tests successful, 6 tests skipped. Files=26, Tests=718, 8 wallclock secs ( 5.77 cusr + 1.23 csys = 7.00 CPU) PERL_DL_NONLAZY=1 /usr/bin/perl5.6.1 -Iblib/arch -Iblib/lib -I/compbio/programs/perl-5.6.1/lib/5.6 ..1/alpha-dec_osf -I/compbio/programs/perl-5.6.1/lib/5.6.1 test.pl test.pl DBI test application $Revision: 11.5 $ Using /usr3/users/qgu/download/DBI-1.29/blib Switch: DBI 1.29 by Tim Bunce, 1.29 Available Drivers: ExampleP, Proxy, mysql dbi:ExampleP:: testing 5 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... 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... Made 100 connections in 0 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Testing handle creation speed... 10000 NullP statement handles cycled in 1.4 cpu+sys seconds (7228 per sec) test.pl done # make install Installing /compbio/programs/perl-5.6.1/lib/site_perl/5.6.1/alpha-dec_osf/auto/DBI/DBI.so Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /compbio/programs/perl-5.6.1/man/man1/dbish.1 Installing /compbio/programs/perl-5.6.1/man/man1/dbiproxy.1 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::ProxyServer.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Const::GetInfoType.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBD::Proxy.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Format.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Const::GetInfoReturn.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Const::GetInfo::ANSI.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::PurePerl.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Profile.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Shell.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::FAQ.3 Installing /compbio/programs/perl-5.6.1/man/man3/Bundle::DBI.3 Installing /compbio/programs/perl-5.6.1/man/man3/Win32::DBIODBC.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::Const::GetInfo::ODBC.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::W32ODBC.3 Installing /compbio/programs/perl-5.6.1/man/man3/DBI::DBD.3 Writing /compbio/programs/perl-5.6.1/lib/site_perl/5.6.1/alpha-dec_osf/auto/DBI/.packlist Appending installation info to /compbio/programs/perl-5.6.1/lib/5.6.1/alpha-dec_osf/perllocal.pod # ---------- Original Message ---------------------------------- From: nkuipers <[EMAIL PROTECTED]> Date: Thu, 18 Jul 2002 10:16:34 -0700 >Try reinstalling the module perhaps. Did you use automated installation or manual? >Were there ANY problems with the install. Are you SURE you installed it to the >appropriate directory structure for referencing? I work in 5.6.0 and use the DBI >module bundled with it; are there bug reports for DBI 1.29? Want to share some of that script you mention? nathanael >>In my perl-5.6.1, I installed DBI-1.29, when I run the perl script to connect >mysql database, the following error is given: >> >>Can't locate loadable object for module DBI in @INC (@INC contains: >/compbio/programs/perl-5.6.1/lib/5.6.1/alpha-dec_osf >>/compbio/programs/perl-5.6.1/lib/5.6.1 >/compbio/programs/perl-5.6.1/lib/site_perl/5.6.1/alpha-dec_osf >/compbio/programs/p >>erl-5.6.1/lib/site_perl/5.6.1 /compbio/programs/perl-5.6.1/lib/site_perl .) >at /compbio/programs/perl-5.6.1/lib/site_perl >>/5.6.1/alpha-dec_osf/DBI.pm line 243 >>BEGIN failed--compilation aborted at >/compbio/programs/perl-5.6.1/lib/site_perl/5.6.1/alpha-dec_osf/DBI.pm line >243. >>Compilation failed in require at /db4/usr/local/www/cgi-bin/reblast.pl line >21. >>BEGIN failed--compilation aborted at /db4/usr/local/www/cgi-bin/reblast.pl >line 21. >> >>I donot know what is wrong with DBI.pm line 243. >> >>Thanks a lot >> >>Grace >> >> >>-- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > >"I think for my lunch tomorrow I'll make a tuna and pickle triangle bunwich." > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]