On Thu, February 22, 2007 15:35, Garrett, Philip \(MAN-Corporate\) said:
> Unless you plan to use DBI and threads in the same process, you can
> ignore that test.
What is the impact of mod_apache if you are using threaded apache server
(vs. child spawning).
> -----Original Message-----
> From: Mike Southworth [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 22, 2007 12:23 AM
> To: [email protected]
> Subject: DBI 1.53 Compile Does not Pass Test on RHEL 3.0
>
>
> I have been trying all night to get DBI 1.53 installed on Perl 5.008
> that comes with RHEL 3.0.  When CPAN failed I have tried downloading and
> compiling, however I get the same problems.  Here is a snapshot of the
> process:
>
> [EMAIL PROTECTED] DBI-1.53]# perl Makefile.PL
>
>
> *** You are using a perl configured with threading enabled.
> *** You should be aware that using multiple threads is
> *** not recommended for production environments.
>
>
> *** 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.2.3 20030502 (Red Hat Linux
> 3.2.3-54)), 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 (use
> threads)
> 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_43prof_env.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
>
>
>     I see you're using perl 5.008 on i386-linux-thread-multi, 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
> [EMAIL PROTECTED] DBI-1.53]# make
> gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
> -mcpu=i686   -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -fPIC
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -W -Wall
> -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
> -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c
> Running Mkbootstrap for DBI ()
> chmod 644 DBI.bs
> rm -f blib/arch/auto/DBI/DBI.so
> gcc  -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
> cp dbiprof blib/script/dbiprof
> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof
> cp dbiproxy blib/script/dbiproxy
> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
> blib/script/dbiproxy
> Manifying blib/man1/dbiprof.1
> Manifying blib/man1/dbiproxy.1
> Manifying blib/man3/DBI::FAQ.3pm
> Manifying blib/man3/DBD::Proxy.3pm
> Manifying blib/man3/DBI::SQL::Nano.3pm
> Manifying blib/man3/DBI::Const::GetInfo::ANSI.3pm
> Manifying blib/man3/DBD::DBM.3pm
> Manifying blib/man3/DBI::Const::GetInfoReturn.3pm
> Manifying blib/man3/DBI.3pm
> Manifying blib/man3/DBD::Sponge.3pm
> Manifying blib/man3/DBI::Const::GetInfoType.3pm
> Manifying blib/man3/Roadmap.3pm
> Manifying blib/man3/DBI::DBD::Metadata.3pm
> Manifying blib/man3/DBI::W32ODBC.3pm
> Manifying blib/man3/DBI::Const::GetInfo::ODBC.3pm
> Manifying blib/man3/DBI::ProfileDumper::Apache.3pm
> Manifying blib/man3/Bundle::DBI.3pm
> Manifying blib/man3/TASKS.3pm
> Manifying blib/man3/DBI::Profile.3pm
> Manifying blib/man3/DBD::File.3pm
> Manifying blib/man3/DBI::ProfileDumper.3pm
> Manifying blib/man3/DBI::ProxyServer.3pm
> Manifying blib/man3/DBI::ProfileSubs.3pm
> Manifying blib/man3/DBI::DBD.3pm
> Manifying blib/man3/Win32::DBIODBC.3pm
> Manifying blib/man3/DBI::PurePerl.3pm
> Manifying blib/man3/DBI::ProfileData.3pm
> [EMAIL PROTECTED] DBI-1.53]# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01basics...............ok
>         4/131 skipped: various reasons
> t/02dbidrv...............ok
> t/03handle...............ok
> t/04mods.................ok
> t/05thrclone.............ok 7/43Test output counter mismatch [test 8]
> Test output counter mismatch [test 9]
> Test output counter mismatch [test 10]
> Test output counter mismatch [test 11]
> Test output counter mismatch [test 12]
> Test output counter mismatch [test 13]
> Test output counter mismatch [test 14]
> Test output counter mismatch [test 15]
> Test output counter mismatch [test 16]
> Test output counter mismatch [test 17]
> Test output counter mismatch [test 18]
> Test output counter mismatch [test 19]
> Test output counter mismatch [test 20]
> t/05thrclone.............ok 21/43Test output counter mismatch [test 21]
> Test output counter mismatch [test 22]
> Test output counter mismatch [test 23]
> Test output counter mismatch [test 24]
> Test output counter mismatch [test 25]
> Test output counter mismatch [test 26]
> Test output counter mismatch [test 27]
> Test output counter mismatch [test 28]
> Test output counter mismatch [test 29]
> Test output counter mismatch [test 30]
> t/05thrclone.............ok 31/43Test output counter mismatch [test 31]
> Test output counter mismatch [test 32]
> Test output counter mismatch [test 33]
> Test output counter mismatch [test 34]
> Test output counter mismatch [test 35]
> Test output counter mismatch [test 36]
> Test output counter mismatch [test 37]
> Test output counter mismatch [test 38]
> Test output counter mismatch [test 39]
> Test output counter mismatch [test 40]
> Test output counter mismatch [test 41]
> Test output counter mismatch [test 42]
> t/05thrclone.............ok 43/43# Looks like you planned 43 tests but
> only ran 3.
> Test output counter mismatch [test 43]
> t/05thrclone.............dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 4-43
>         Failed 40/43 tests, 6.98% okay
> t/06attrs................ok
> t/07kids.................ok
> t/08keeperr..............ok
> t/09trace................ok
> t/10examp................ok
> t/11fetch................ok
> t/14utf8.................ok
> t/15array................ok
> t/20meta.................ok
> t/30subclass.............ok
> t/40profile..............ok
> t/41prof_dump............ok
> t/42prof_data............ok
> t/43prof_env.............ok
> t/50dbm..................ok
> t/60preparse.............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/pod....................skipped
>         all skipped: Test::Pod 1.00 required for testing POD
> t/zvpp_01basics..........ok
>         4/131 skipped: various reasons
> 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........ok 1/43Test output counter mismatch [test 8]
> Test output counter mismatch [test 9]
> Test output counter mismatch [test 10]
> t/zvpp_05thrclone........ok 11/43Test output counter mismatch [test 11]
> Test output counter mismatch [test 12]
> Test output counter mismatch [test 13]
> Test output counter mismatch [test 14]
> Test output counter mismatch [test 15]
> Test output counter mismatch [test 16]
> Test output counter mismatch [test 17]
> Test output counter mismatch [test 18]
> t/zvpp_05thrclone........ok 19/43Test output counter mismatch [test 19]
> Test output counter mismatch [test 20]
> Test output counter mismatch [test 21]
> Test output counter mismatch [test 22]
> Test output counter mismatch [test 23]
> Test output counter mismatch [test 24]
> Test output counter mismatch [test 25]
> Test output counter mismatch [test 26]
> Test output counter mismatch [test 27]
> Test output counter mismatch [test 28]
> t/zvpp_05thrclone........ok 29/43Test output counter mismatch [test 29]
> Test output counter mismatch [test 30]
> Test output counter mismatch [test 31]
> Test output counter mismatch [test 32]
> Test output counter mismatch [test 33]
> Test output counter mismatch [test 34]
> Test output counter mismatch [test 35]
> Test output counter mismatch [test 36]
> Test output counter mismatch [test 37]
> Test output counter mismatch [test 38]
> t/zvpp_05thrclone........ok 39/43Test output counter mismatch [test 39]
> Test output counter mismatch [test 40]
> Test output counter mismatch [test 41]
> Test output counter mismatch [test 42]
> Test output counter mismatch [test 43]
> # Looks like you planned 43 tests but only ran 3.
> t/zvpp_05thrclone........dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 4-43
>         Failed 40/43 tests, 6.98% okay
> 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...........ok
> t/zvpp_14utf8............ok
> t/zvpp_15array...........ok
> t/zvpp_20meta............ok
> t/zvpp_30subclass........ok
> t/zvpp_40profile.........skipped
>         all skipped: profiling not supported for DBI::PurePerl
> 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_43prof_env........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....ok
> t/zvpp_80proxy...........skipped
>         all skipped: modules required for proxy are probably not
> installed (e.g., RPC/PlClient.pm)
> Failed Test         Stat Wstat Total Fail  List of Failed
> ------------------------------------------------------------------------
> -------
> t/05thrclone.t       255 65280    43   80  4-43
> t/zvpp_05thrclone.t  255 65280    43   80  4-43
> 10 tests and 140 subtests skipped.
> Failed 2/49 test scripts. 0/2339 subtests failed.
> Files=49, Tests=2339, 37 wallclock secs (31.33 cusr +  1.78 csys = 33.11
> CPU)
> Failed 2/49 test programs. 0/2339 subtests failed.
> make: *** [test_dynamic] Error 29
> [EMAIL PROTECTED] DBI-1.53]#
>
> I don't run make install at this point due to the test failure.
>
> Does anyone see why the failure occurs?  Is this a RHEL thing?
>
> I really need to get this installed.
>
> Thanks,
>
>
>


Reply via email to