Trying to install DBI-1.32 on Raq3: Test returned status 20 (wstat 5120, 0x1400)

From: Jim Byrne (jim_at_glasgowwestend.co.uk)
Date: 12/23/04


Date: Thu, 23 Dec 2004 12:31:30 +0000
To: <dbi-users@perl.org>

Hi,

I'm trying to install DBI module on my raq3 to connect with my Mysql
databases.

When I run the Makefile.PL for the latest version of the DBI module it quits
with the error message:

"Perl 5.006 required - this is only version 5.00503, stopped at
Makefile.PL line 10".

I am not keen to install the latest version of Perl as it is likely to screw
up the server admin interface which is based on the older installed version
of Perl.

I was advised via the UK2 raq mailing list to install DBI-1.32 as this
should run on the existing version of Perl. However when attempting to
install this I get errors when running make test:

make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Tes
t::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01basics..........ok
t/02dbidrv..........ok
t/03hleak...........ok
t/04mods............ok
t/05thrclone........skipping test on this platform
t/06attrs...........ok
t/07kids............ok
t/10examp...........Insecure dependency in parameter 1 of
DBI::st=HASH(0x8240f04)->FETCH method call while running with -T swit
ch at t/10examp.t line 320.
DBI handle cleared whilst still active.
    dbih_clearcom (sth 0x82427f0 0x816932c, com 0x8244860, imp
DBD::ExampleP::st):
       FLAGS 0x60011: COMSET Warn TaintIn TaintOut
       PARENT DBI::db=HASH(0x823e99c)
       KIDS 0 (0 Active)
       IMP_DATA ARRAY(0x8242994)
       NUM_OF_FIELDS 3
       NUM_OF_PARAMS 1
dubious
        Test returned status 20 (wstat 5120, 0x1400)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 20

I'm a beginner when it comes to installing Perl and Perl modules - your help
will be appreciated.

Below I have included the output from the Makefile.PL and make commands.

Thanks,
Jim

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_06attrs_pp.t
Creating extra DBI::PurePerl test: t/zz_07kids_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_41prof_dump_pp.t
Creating extra DBI::PurePerl test: t/zz_42prof_data_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.

[root@raq947 DBI-1.32]# make
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::Command -e mkpath blib/lib/DBI
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBI
mkdir blib/lib/auto
mkdir blib/lib/auto/DBI
mkdir blib/man1
mkdir blib/man3
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
Perl.xsi
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /us
r/lib/perl5/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv xstmp.c Perl.c
cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.32\"
-DXS_VERSION=\"1.32\" -fpic -I/usr/lib/perl5/5.005
03/i386-linux/CORE -Wall -Wno-comment -DDBI_NO_THREADS Perl.c
/usr/lib/perl5/5.00503/i386-linux/CORE/patchlevel.h:41: warning:
`local_patches' defined but not used
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /us
r/lib/perl5/5.00503/ExtUtils/typemap DBI.xs >xstmp.c && mv xstmp.c DBI.c
cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.32\"
-DXS_VERSION=\"1.32\" -fpic -I/usr/lib/perl5/5.005
03/i386-linux/CORE -Wall -Wno-comment -DDBI_NO_THREADS DBI.c
/usr/lib/perl5/5.00503/i386-linux/CORE/patchlevel.h:41: warning:
`local_patches' defined but not used
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -shared -L/usr/local/lib
DBI.o
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/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux
-I/usr/lib/perl5/5.00503 dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
mkdir blib/script
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/scr
ipt/dbiproxy
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux
-I/usr/lib/perl5/5.00503 dbish.PL dbish
Extracted dbish from dbish.PL with variable substitutions.
cp dbish blib/script/dbish
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/scr
ipt/dbish
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux
-I/usr/lib/perl5/5.00503 dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/scr
ipt/dbiprof
Manifying blib/man3/DBI::Profile.3
Manifying blib/man3/DBI::W32ODBC.3
Manifying blib/man1/dbiprof.1
Manifying blib/man3/DBI::Shell.3
Manifying blib/man3/DBI::FAQ.3
Manifying blib/man3/DBI::ProxyServer.3
Manifying blib/man3/Bundle::DBI.3
Manifying blib/man1/dbish.1
Manifying blib/man3/DBI::Const::GetInfo::ANSI.3
Manifying blib/man3/DBD::Proxy.3
Manifying blib/man3/DBI::ProfileDumper.3
Manifying blib/man1/dbiproxy.1
Manifying blib/man3/DBI::Const::GetInfoReturn.3
Manifying blib/man3/DBI::Const::GetInfoType.3
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3
Manifying blib/man3/DBI::Format.3
Manifying blib/man3/DBI::DBD.3
Manifying blib/man3/Win32::DBIODBC.3
Manifying blib/man3/DBI::ProfileData.3
Manifying blib/man3/DBI.3
Manifying blib/man3/DBI::PurePerl.3
Manifying blib/man3/DBI::ProfileDumper::Apache.3



Relevant Pages

  • Trying to install DBI-1.32 on Raq3: Test returned status 20 (wstat 5120, 0x1400)
    ... I'm trying to install DBI module on my raq3 to connect with my Mysql ... mkdir blib/lib ... Manifying blib/man3/DBI::Profile.3 ...
    (perl.dbi.users)
  • (Fwd) DBI
    ... The optional PlRPC-modules are not installed. ... You can install them any time after installing the DBI. ... Manifying blib/man1/dbiproxy.1 ...
    (perl.dbi.users)
  • Perl 5.8/DBI 1.38 on AIX 5.1 -> make test fails with symbol resolution errors (IO.so)
    ... I am trying to install DBI 1.38 with Perl 5.8 on AIX 5.1. ... Switch: DBI 1.38 by Tim Bunce, ... Manifying blib/man3/DBI::FAQ.3 ...
    (perl.dbi.users)
  • Errors in DBI installation!!
    ... I am getting the errors when trying to install DBI module. ... Perl versions below 5.6.1 are no longer supported by the DBI. ... *** Error code 1 ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)