Hello I am compiling DBI-1.20 using gcc 2.95.3 and perl 5.6.1 and I am geeting a core dump when it runs the t/examp tests. I have attached a file with the errors. What are the t/examp tests testing. I want to know in case it is not relevant and I can ignore it. <<dbierror.txt>>
(:=) Think Globally Act Locally (=:) (-: Nagu :- ) Southampton City Council - CPS Tel :- 02380-833012 Mobile :- 07770-731534 __o ` \<, (_)/(_) On Two Wheels You Stay Younger
Script started on Thu 25 Oct 2001 05:44:18 PM BST $ make realclean rm -f blib/script/dbiproxy blib/script/dbish rm -rf Perl.c DBI.c DBI-1.20 Perl.xsi dbish dbiproxy ndtest.prt ./blib Makefile.aperl blib/arch/auto/DBI/extralibs.all perlmain.c mon.out core core.*perl.*.? *perl.core so_locations pm_to_blib *.o *.a perl.exe DBI.bs DBI.bso DBI.def DBI.exp mv Makefile Makefile.old > /dev/null 2>&1 rm -rf blib/lib/auto/DBI blib/arch/auto/DBI rm -f blib/arch/auto/DBI/DBI.so blib/arch/auto/DBI/DBI.bs rm -f blib/arch/auto/DBI/DBI.a rm -f blib/arch/auto/DBI/DBIXS.h blib/lib/DBD/Proxy.pm rm -f blib/lib/DBI/ProxyServer.pm blib/arch/auto/DBI/dbi_sql.h rm -f blib/lib/DBD/NullP.pm blib/arch/auto/DBI/dbipport.h rm -f blib/arch/auto/DBI/dbd_xsh.h blib/lib/DBI/Format.pm blib/lib/DBI/Shell.pm rm -f blib/lib/DBI.pm blib/lib/DBI/FAQ.pm blib/lib/DBD/ExampleP.pm rm -f blib/lib/Bundle/DBI.pm blib/arch/auto/DBI/Driver.xst rm -f blib/lib/Win32/DBIODBC.pm blib/lib/DBD/Sponge.pm blib/lib/DBI/W32ODBC.pm rm -f blib/lib/DBI/DBD.pm rm -rf Makefile Makefile.old $ perl 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 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 cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp DBI.pm blib/lib/DBI.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm /usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst > Perl.xsi /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment -DDBI_NO_THREADS Perl.c /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment -DDBI_NO_THREADS DBI.c DBI.xs: In function `dbih_clearcom': DBI.xs:880: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_fbav': DBI.xs:1018: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_set_attr_k': DBI.xs:1110: warning: unused variable `Perl___notused' DBI.xs: In function `log_where': DBI.xs:1572: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2041: warning: unused variable `Perl___notused' DBI.xs: In function `preparse': DBI.xs:2247: warning: value computed is not used DBI.xs:2257: warning: value computed is not used DBI.xs:2274: warning: value computed is not used DBI.xs:2279: warning: value computed is not used Running Mkbootstrap for DBI () chmod 644 DBI.bs rm -f blib/arch/auto/DBI/DBI.so LD_RUN_PATH="" gcc -G -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/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. cp dbiproxy blib/script/dbiproxy /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbiproxy /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 dbish.PL dbish Extracted dbish from dbish.PL with variable substitutions. cp dbish blib/script/dbish /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbish Manifying blib/man3/DBI::ProxyServer.3 Manifying blib/man3/DBD::Proxy.3 Manifying blib/man3/DBI::Format.3 Manifying blib/man1/dbish.1 Manifying blib/man3/DBI::Shell.3 Manifying blib/man3/DBI.3 Manifying blib/man3/DBI::FAQ.3 Manifying blib/man3/Bundle::DBI.3 Manifying blib/man3/Win32::DBIODBC.3 Manifying blib/man1/dbiproxy.1 Manifying blib/man3/DBI::W32ODBC.3 Manifying blib/man3/DBI::DBD.3 $ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/basics............ t/basics............ok 1/31 t/basics............ok 2/31 t/basics............ok 3/31 t/basics............ok 4/31 t/basics............ok 5/31 t/basics............ok 6/31 t/basics............ok 7/31 t/basics............ok 8/31 t/basics............ok 9/31 t/basics............ok 10/31 t/basics............ok 11/31 t/basics............ok 12/31 t/basics............ok 13/31 t/basics............ok 14/31 t/basics............ok 15/31 t/basics............ok 16/31 t/basics............ok 17/31 t/basics............ok 18/31 t/basics............ok 19/31 t/basics............ok 20/31 t/basics............ok 21/31 t/basics............ok 22/31 t/basics............ok 23/31 t/basics............ok 24/31 t/basics............ok 25/31 t/basics............ok 26/31 t/basics............ok 27/31 t/basics............ok 28/31 t/basics............ok 29/31 t/basics............ok 30/31 t/basics............ok 31/31 t/basics............ok t/dbidrv............ t/dbidrv............ok 1/17 t/dbidrv............ok 2/17 t/dbidrv............ok 3/17 t/dbidrv............ok 4/17 t/dbidrv............ok 5/17 t/dbidrv............ok 6/17 t/dbidrv............ok 7/17 t/dbidrv............ok 8/17 t/dbidrv............ok 9/17 t/dbidrv............ok 10/17 t/dbidrv............ok 11/17 t/dbidrv............ok 12/17 t/dbidrv............ok 13/17 t/dbidrv............ok 14/17 t/dbidrv............ok 15/17 t/dbidrv............ok 16/17 t/dbidrv............ok 17/17 t/dbidrv............ok t/examp............. t/examp.............ok 1/175 t/examp.............dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core DIED. FAILED tests 2-175 Failed 174/175 tests, 0.57% okay t/meta.............. t/meta..............ok 1/6 t/meta..............ok 2/6 t/meta..............ok 3/6 t/meta..............ok 4/6 t/meta..............ok 5/6 t/meta..............ok 6/6 t/meta..............ok t/preparse.......... t/preparse..........ok 1/2 t/preparse..........ok 2/2 t/preparse..........ok t/proxy.............skipped test on this platform t/shell............. t/shell.............ok 1/3 t/shell.............ok 2/3 t/shell.............ok 3/3 t/shell.............ok t/subclass.......... t/subclass..........ok 1/6 t/subclass..........ok 2/6 t/subclass..........ok 3/6 t/subclass..........ok 4/6 t/subclass..........ok 5/6 t/subclass..........ok 6/6 t/subclass..........ok Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/examp.t 0 139 175 174 99.43% 2-175 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 174/240 subtests failed, 27.50% okay. make: *** [test_dynamic] Error 29 $ make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/basics............1..31 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok t/dbidrv............1..17 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok t/examp.............1..175 ok 1 dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core DIED. FAILED tests 2-175 Failed 174/175 tests, 0.57% okay t/meta..............1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok t/preparse..........1..2 ok 1 ok 2 ok t/proxy.............1..0 Can't locate RPC/PlClient.pm in @INC (@INC contains: blib/arch blib/lib /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at blib/lib/DBD/Proxy.pm line 28. BEGIN failed--compilation aborted at blib/lib/DBD/Proxy.pm line 28. Compilation failed in require at t/proxy.t line 26. skipped test on this platform t/shell.............1..3 ok 1 DBI::Shell 11.02 using DBI 1.20 ok 2 ok 3 ok t/subclass..........1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/examp.t 0 139 175 174 99.43% 2-175 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 174/240 subtests failed, 27.50% okay. make: *** [test_dynamic] Error 29 $ perl _ -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos tensor.vnet.net 5.6 generic_105181-06 sun4u sparc sunw,ultra-1 ' config_args='-Dcc=gcc -de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.6' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at May 10 2001 06:56:03 @INC: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . $ script done on Thu 25 Oct 2001 05:46:35 PM BST