jrw $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.7 (Tikanga)
jrw $ perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi ... jrw $ export | grep -e LC_ALL -e LANG LANG=en_US.UTF-8 LC_ALL=C jrw $ perl Makefile.PL *** Your LANG environment variable is set to 'en_US.UTF-8' *** This may cause problems for some perl installations. *** If you get test failures, please try again with LANG unset. *** If that then works, please email dbi-...@perl.org with details *** including the output of 'perl -V' Your perl was compiled with gcc (version 4.1.2 20080704 (Red Hat 4.1.2-50)), okay. Creating test wrappers for DBD::Gofer: ... Checking if your kit is complete... Looks good Warning: prerequisite ExtUtils::MakeMaker 6.48 not found. We have 6.30. Warning: prerequisite Test::Simple 0.90 not found. We have 0.62. I see you're using perl 5.008008 on x86_64-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 ################## bug #1: the warning about LANG is "wrong". In fact LANG is set, but since LC_ALL=C, LANG is ignored. jrw $ make /usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm ... cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.632\" -DXS_VERSION=\"1.632\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.632\" -DXS_VERSION=\"1.632\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-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 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 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/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof Extracted dbiprof from dbiprof.PL with variable substitutions. cp dbiprof blib/script/dbiprof /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof /usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. cp dbiproxy blib/script/dbiproxy /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy /usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip Extracted dbilogstrip from dbilogstrip.PL with variable substitutions. cp dbilogstrip blib/script/dbilogstrip /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbilogstrip Manifying blib/man1/dbiprof.1 ... Manifying blib/man3/DBD::Gofer.3pm lib/DBD/Gofer.pm:841: Unknown command paragraph "=encoding ISO8859-1" Manifying blib/man3/DBI::DBD::SqlEngine::HowTo.3pm ... Manifying blib/man3/DBI::ProfileData.3pm ################## bug #2: warning about "=encoding ISO8859-1". I've seen this error in the archives, but I don't think it affects the test failure below. jrw $ 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/130 skipped: developer tests t/02dbidrv......................ok t/03handle......................ok t/04mods........................ok t/05concathash..................ok t/06attrs.......................String found where operator expected at t/06attrs.t line 290, near "note "Checking inheritance\n"" (Do you need to predeclare note?) syntax error at t/06attrs.t line 290, near "note "Checking inheritance\n"" Execution of t/06attrs.t aborted due to compilation errors. # Looks like your test died before it could output anything. t/06attrs.......................dubious Test returned status 255 (wstat 65280, 0xff00) t/07kids........................ok t/08keeperr.....................You tried to run a test without a plan! Gotta have a plan. at /usr/lib/perl5/5.8.8/Test/More.pm line 374 # Looks like your test died before it could output anything. t/08keeperr.....................dubious Test returned status 255 (wstat 65280, 0xff00) ... t/zvxnp_51dbm_file..............dubious Test returned status 255 (wstat 65280, 0xff00) t/zvxnp_52dbm_complex...........String found where operator expected at ./t/52dbm_complex.t line 107, near "note "break here"" (Do you need to predeclare note?) "my" variable $table masks earlier declaration in same scope at ./t/52dbm_complex.t line 244. String found where operator expected at ./t/52dbm_complex.t line 261, near "note "Running do_tests for $dbmtype + $serializer"" (Do you need to predeclare note?) "my" variable $sql masks earlier declaration in same scope at ./t/52dbm_complex.t line 337. syntax error at ./t/52dbm_complex.t line 107, near "note "break here"" syntax error at ./t/52dbm_complex.t line 261, near "note "Running do_tests for $dbmtype + $serializer"" Compilation failed in require at t/zvxnp_52dbm_complex.t line 6. # Looks like your test died before it could output anything. t/zvxnp_52dbm_complex...........dubious Test returned status 255 (wstat 65280, 0xff00) t/zvxnp_85gofer.................Test::More version 0.84 required--this is only version 0.62 at ./t/85gofer.t line 11. BEGIN failed--compilation aborted at ./t/85gofer.t line 11. Compilation failed in require at t/zvxnp_85gofer.t line 6. # Looks like your test died before it could output anything. t/zvxnp_85gofer.................dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/06attrs.t 255 65280 ?? ?? % ?? t/08keeperr.t 255 65280 ?? ?? % ?? t/10examp.t 255 65280 229 458 200.00% 1-229 t/48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/49dbd_file.t 255 65280 ?? ?? % ?? t/50dbm_simple.t 255 65280 ?? ?? % ?? t/51dbm_file.t 255 65280 ?? ?? % ?? t/52dbm_complex.t 255 65280 ?? ?? % ?? t/70callbacks.t 255 65280 ?? ?? % ?? t/85gofer.t 255 65280 ?? ?? % ?? t/zvg_06attrs.t 255 65280 ?? ?? % ?? t/zvg_08keeperr.t 255 65280 ?? ?? % ?? t/zvg_10examp.t 255 65280 229 458 200.00% 1-229 t/zvg_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvg_49dbd_file.t 255 65280 ?? ?? % ?? t/zvg_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvg_51dbm_file.t 255 65280 ?? ?? % ?? t/zvg_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvg_70callbacks.t 255 65280 ?? ?? % ?? t/zvg_85gofer.t 255 65280 ?? ?? % ?? t/zvn_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvn_49dbd_file.t 255 65280 ?? ?? % ?? t/zvn_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvn_51dbm_file.t 255 65280 ?? ?? % ?? t/zvn_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvn_85gofer.t 255 65280 ?? ?? % ?? t/zvp_06attrs.t 255 65280 ?? ?? % ?? t/zvp_08keeperr.t 255 65280 ?? ?? % ?? t/zvp_10examp.t 255 65280 229 458 200.00% 1-229 t/zvp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvp_49dbd_file.t 255 65280 ?? ?? % ?? t/zvp_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvp_51dbm_file.t 255 65280 ?? ?? % ?? t/zvp_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvp_85gofer.t 255 65280 ?? ?? % ?? t/zvxgn_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvxgn_49dbd_file.t 255 65280 ?? ?? % ?? t/zvxgn_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvxgn_51dbm_file.t 255 65280 ?? ?? % ?? t/zvxgn_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvxgn_85gofer.t 255 65280 ?? ?? % ?? t/zvxgnp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvxgnp_49dbd_file.t 255 65280 ?? ?? % ?? t/zvxgnp_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvxgnp_51dbm_file.t 255 65280 ?? ?? % ?? t/zvxgnp_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvxgnp_85gofer.t 255 65280 ?? ?? % ?? t/zvxgp_06attrs.t 255 65280 ?? ?? % ?? t/zvxgp_08keeperr.t 255 65280 ?? ?? % ?? t/zvxgp_10examp.t 255 65280 229 458 200.00% 1-229 t/zvxgp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvxgp_49dbd_file.t 255 65280 ?? ?? % ?? t/zvxgp_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvxgp_51dbm_file.t 255 65280 ?? ?? % ?? t/zvxgp_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvxgp_85gofer.t 255 65280 ?? ?? % ?? t/zvxnp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? % ?? t/zvxnp_49dbd_file.t 255 65280 ?? ?? % ?? Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/zvxnp_50dbm_simple.t 255 65280 ?? ?? % ?? t/zvxnp_51dbm_file.t 255 65280 ?? ?? % ?? t/zvxnp_52dbm_complex.t 255 65280 ?? ?? % ?? t/zvxnp_85gofer.t 255 65280 ?? ?? % ?? 30 tests and 225 subtests skipped. Failed 62/182 test scripts, 65.93% okay. 916/4543 subtests failed, 79.84% okay. make: *** [test_dynamic] Error 255 ################## bug #3: t/06attrs.t failure. It turns out this t/06attrs.t failure is due to an old version of Test::More and Test::Simple: jrw $ perl -MTest::More -le 'print $Test::More::VERSION' 0.62 jrw $ perl -MTest::Simple -le 'print $Test::Simple::VERSION' 0.62 I see in META.{json,yaml} that a later version of Test::Simple is required, but that doesn't seem to cause a noticable error message or abort the Makefile.PL/make/make test process. Installing the latest version of Test::Simple allows "make test" to succeed. jrw $ grep Simple META* META.json: "Test::Simple" : "0.90" META.yml: Test::Simple: '0.90' Let me know if you need more information. Thanks! -- John Wiersba