On Mon, Jan 24, 2011 at 07:09, <yves.gue...@muhc.mcgill.ca> wrote: > > Dear, > > I try to compile the dbi module on aix but I got an error (see the > build.log). > > I am not a perl expert (I do not know this language), I have to migrate an > application using perl+dbi::mysql > > Version: > DBI-1.616 > ExtUtils-MakeMaker-6.57_06 > Text-SimpleTable-2.03 > > perl5 (revision 5 version 8 subversion 9) (see build.log for complete > info) > > aix: AIX axap30 1 6 00C02AC44C00 >
The key part of the 180 K trace is that (a) the build phase worked without obvious issues, and (b) the test summary gives: Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/06attrs.t 255 65280 148 294 2-148 t/10examp.t 255 65280 210 420 1-210 t/48dbi_dbd_sqlengine.t 255 65280 ?? ?? ?? t/49dbd_file.t 255 65280 ?? ?? ?? t/50dbm_simple.t 2 512 ?? ?? ?? t/51dbm_file.t 2 512 ?? ?? ?? t/52dbm_complex.t 2 512 ?? ?? ?? t/85gofer.t 255 65280 ?? ?? ?? t/zvg_06attrs.t 255 65280 148 294 2-148 t/zvg_10examp.t 255 65280 210 420 1-210 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 2 512 ?? ?? ?? t/zvg_52dbm_complex.t 2 512 ?? ?? ?? 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 2 512 ?? ?? ?? t/zvn_51dbm_file.t 2 512 ?? ?? ?? t/zvn_52dbm_complex.t 2 512 ?? ?? ?? t/zvn_85gofer.t 255 65280 ?? ?? ?? t/zvp_06attrs.t 255 65280 148 294 2-148 t/zvp_10examp.t 255 65280 210 420 1-210 t/zvp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? ?? t/zvp_49dbd_file.t 255 65280 ?? ?? ?? t/zvp_50dbm_simple.t 2 512 ?? ?? ?? t/zvp_51dbm_file.t 2 512 ?? ?? ?? t/zvp_52dbm_complex.t 2 512 ?? ?? ?? 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 2 512 ?? ?? ?? t/zvxgn_52dbm_complex.t 2 512 ?? ?? ?? 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 2 512 ?? ?? ?? t/zvxgnp_52dbm_complex.t 2 512 ?? ?? ?? t/zvxgnp_85gofer.t 255 65280 ?? ?? ?? t/zvxgp_06attrs.t 255 65280 148 294 2-148 t/zvxgp_10examp.t 255 65280 210 420 1-210 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 2 512 ?? ?? ?? t/zvxgp_52dbm_complex.t 2 512 ?? ?? ?? t/zvxgp_85gofer.t 255 65280 ?? ?? ?? t/zvxnp_48dbi_dbd_sqlengine.t 255 65280 ?? ?? ?? t/zvxnp_49dbd_file.t 255 65280 ?? ?? ?? t/zvxnp_50dbm_simple.t 2 512 ?? ?? ?? t/zvxnp_51dbm_file.t 2 512 ?? ?? ?? t/zvxnp_52dbm_complex.t 2 512 ?? ?? ?? t/zvxnp_85gofer.t 255 65280 ?? ?? ?? 30 tests and 225 subtests skipped. Failed 56/178 test scripts. 1428/5109 subtests failed. The section of output for t/06attrs.t is: ok 41 - Simple Hash - Neat numeric ok t/06attrs.......................1..148 ok 1 - use DBI; dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-148 Failed 147/148 tests, 0.68% okay t/07kids........................1..20 ok 1 - The object isa DBI::db The very start of the log contains: *** You are using a perl configured with threading enabled. Your perl was compiled with gcc (version 4.2.0), okay. I've not seen a failure like that...but maybe this synopsis will help those who have. Possibilities: * Use (build) a non-threaded Perl * Don't use an underscore'd version of ExtUtils::MakeMaker * Update to a more recent Perl (5.12.2, for example) However, I don't think any of those is a prticularly plausible candidate for the source of the trouble. -- Jonathan Leffler <jonathan.leff...@gmail.com> #include <disclaimer.h> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."