Hello, Installing DBI-1.51 - 'make test' returns results that seem strange. Any tests that 'use Storable' attempt to load an old version installed under Perl 5.6. A newer version of Storable is installed under Perl 5.8. The new version is in @INC prior to the old version. Since I'm installing DBI via 5.8, can anyone tell me what's going on here? Thanks.
Regards, Andrew I've included the gory details below per the README including: 1. A complete log of a complete build, e.g.: perl Makefile.PL (do a make realclean first) make make test make test TEST_VERBOSE=1 (this is quite long, I'll send it if needed) 2. The output of perl -V ##################################### Build: ##################################### # perl Makefile.PL Your perl was compiled with gcc (version 2.95.4 20020320 [FreeBSD]), okay. Creating DBI::PurePerl test variant: t/zvpp_01basics.t Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t Creating DBI::PurePerl test variant: t/zvpp_03handle.t Creating DBI::PurePerl test variant: t/zvpp_04mods.t Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t Creating DBI::PurePerl test variant: t/zvpp_06attrs.t Creating DBI::PurePerl test variant: t/zvpp_07kids.t Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t Creating DBI::PurePerl test variant: t/zvpp_09trace.t Creating DBI::PurePerl test variant: t/zvpp_10examp.t Creating DBI::PurePerl test variant: t/zvpp_11fetch.t Creating DBI::PurePerl test variant: t/zvpp_14utf8.t Creating DBI::PurePerl test variant: t/zvpp_15array.t Creating DBI::PurePerl test variant: t/zvpp_20meta.t Creating DBI::PurePerl test variant: t/zvpp_30subclass.t Creating DBI::PurePerl test variant: t/zvpp_40profile.t Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t Creating DBI::PurePerl test variant: t/zvpp_43profenv.t Creating DBI::PurePerl test variant: t/zvpp_50dbm.t Creating DBI::PurePerl test variant: t/zvpp_60preparse.t Creating DBI::PurePerl test variant: t/zvpp_70callbacks.t Creating DBI::PurePerl test variant: t/zvpp_72childhandles.t Creating DBI::PurePerl test variant: t/zvpp_80proxy.t Checking if your kit is complete... Looks good Writing Makefile for DBI ##################################### # make /usr/local/bin/perl5.8.6 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm /usr/local/bin/perl5.8.6 "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Roadmap.pm cp Roadmap.pod blib/lib/DBI/Roadmap.pm cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbivport.h blib/arch/auto/DBI/dbivport.h cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.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/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm cp DBI.pm blib/lib/DBI.pm cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp Roadmap.pod blib/lib/Roadmap.pod cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.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 lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm cp lib/DBD/File.pm blib/lib/DBD/File.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBD/NullP.pm blib/lib/DBD/NullP.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 dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/local/bin/perl5.8.6 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/local/bin/perl5.8.6 /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/i386-freebsd/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -DDBI_NO_THREADS Perl.c /usr/local/bin/perl5.8.6 /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/i386-freebsd/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -DDBI_NO_THREADS DBI.c Running Mkbootstrap for DBI () chmod 644 DBI.bs rm -f blib/arch/auto/DBI/DBI.so LD_RUN_PATH="" cc -shared -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.so chmod 755 blib/arch/auto/DBI/DBI.so cp DBI.bs blib/arch/auto/DBI/DBI.bs chmod 644 blib/arch/auto/DBI/DBI.bs /usr/local/bin/perl5.8.6 "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof Extracted dbiprof from dbiprof.PL with variable substitutions. /usr/local/bin/perl5.8.6 "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. cp dbiprof blib/script/dbiprof /usr/local/bin/perl5.8.6 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof cp dbiproxy blib/script/dbiproxy /usr/local/bin/perl5.8.6 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy Manifying blib/man1/dbiprof.1 [...] ##################################### #make test PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basics...............ok 4/131 skipped: developer tests t/02dbidrv...............ok t/03handle...............ok t/04mods.................ok t/05thrclone.............skipped all skipped: this freebsd perl 5.008006 not configured to support iThreads t/06attrs................ok t/07kids.................ok t/08keeperr..............ok t/09trace................ok t/10examp................ok t/11fetch................dubious Test returned status 2 (wstat 512, 0x200) t/14utf8.................skipped all skipped: Unable to load required module (Can't load '/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/Storable/ Storable.so' for module Storable: /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/Storable/Storable .so: Undefined symbol "perl_get_sv" at /usr/local/lib/perl5/5.8.6/i386-freebsd/DynaLoader.pm line 230. t/15array................ok t/20meta.................ok t/30subclass.............ok t/40profile..............dubious Test returned status 2 (wstat 512, 0x200) t/41prof_dump............ok t/42prof_data............ok t/43profenv..............ok t/50dbm..................ok t/60preparse.............ok t/70callbacks............ok t/72childhandles.........skipped all skipped: Scalar::Util::weaken not available t/80proxy................dubious Test returned status 2 (wstat 512, 0x200) t/pod....................skipped all skipped: Test::Pod 1.00 required for testing POD t/zvpp_01basics..........ok 4/131 skipped: developer tests t/zvpp_02dbidrv..........ok 10/51 skipped: various reasons t/zvpp_03handle..........ok 76/137 skipped: various reasons t/zvpp_04mods............ok t/zvpp_05thrclone........skipped all skipped: this freebsd perl 5.008006 not configured to support iThreads t/zvpp_06attrs...........ok 7/137 skipped: various reasons t/zvpp_07kids............skipped all skipped: $h->{Kids} attribute not supported for DBI::PurePerl t/zvpp_08keeperr.........ok t/zvpp_09trace...........ok t/zvpp_10examp...........ok 39/263 skipped: various reasons t/zvpp_11fetch...........dubious Test returned status 2 (wstat 512, 0x200) t/zvpp_14utf8............skipped all skipped: Unable to load required module (Can't load '/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/Storable/ Storable.so' for module Storable: /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/Storable/Storable .so: Undefined symbol "perl_get_sv" at /usr/local/lib/perl5/5.8.6/i386-freebsd/DynaLoader.pm line 230. t/zvpp_15array...........ok t/zvpp_20meta............ok t/zvpp_30subclass........ok t/zvpp_40profile.........dubious Test returned status 2 (wstat 512, 0x200) t/zvpp_41prof_dump.......skipped all skipped: profiling not supported for DBI::PurePerl t/zvpp_42prof_data.......skipped all skipped: profiling not supported for DBI::PurePerl t/zvpp_43profenv.........skipped all skipped: profiling not supported for DBI::PurePerl t/zvpp_50dbm.............ok t/zvpp_60preparse........skipped all skipped: preparse not supported for DBI::PurePerl t/zvpp_70callbacks.......skipped all skipped: $h->{Callbacks} attribute not supported for DBI::PurePerl t/zvpp_72childhandles....skipped all skipped: Scalar::Util::weaken not available t/zvpp_80proxy...........dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/11fetch.t 2 512 ?? ?? % ?? t/40profile.t 2 512 ?? ?? % ?? t/80proxy.t 2 512 ?? ?? % ?? t/zvpp_11fetch.t 2 512 ?? ?? % ?? t/zvpp_40profile.t 2 512 ?? ?? % ?? t/zvpp_80proxy.t 2 512 ?? ?? % ?? 13 tests and 140 subtests skipped. *** Error code 2 Stop in /home/juanbro/DBI-1.51. ##################################### # perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=freebsd, osvers=4.7-release-p27, archname=i386-freebsd uname='freebsd fc2 4.7-release-p27 freebsd 4.7-release-p27 #38: thu aug 26 17:44:26 mdt 2004 [EMAIL PROTECTED]:usrsrcsyscompilevkern i386 ' config_args='-Dd_dosuid=define -Dotherlibdirs=/usr/local/lib/perl5/5.00503:/usr/local/lib/site_perl -Dvendorprefix=/usr/local -Dmyhostname=fc2 -Dmydomain=freebsd.org -des' 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=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O', cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lcrypt -lutil -lc perllibs=-lm -lcrypt -lutil -lc libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Locally applied patches: SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155) SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156) Built under freebsd Compiled at Feb 7 2005 21:38:38 @INC: /usr/local/lib/perl5/site_perl/5.8.6/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.8.1/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/i386-freebsd /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/vendor_perl/5.8.6/i386-freebsd /usr/local/lib/perl5/vendor_perl/5.8.6 /usr/local/lib/perl5/vendor_perl/5.8.4/i386-freebsd /usr/local/lib/perl5/vendor_perl/5.8.4 /usr/local/lib/perl5/vendor_perl/5.8.3/i386-freebsd /usr/local/lib/perl5/vendor_perl/5.8.3 /usr/local/lib/perl5/vendor_perl /usr/local/lib/perl5/5.00503 /usr/local/lib/site_perl . #####################################