On 08-Feb-2002 Jeff Urlwin wrote: > Martin, > > That line sounds familiar :) > > I put in the no warnings to turn off the warning that I was using an > uninitialized value. Yes, I wanted to pass undef to the bind param, but the > warning stunk. > > Go ahead and take that line out and let me know how it works for you.
Removed "no warnings" from ODBCTEST.pm and problem goes away. Thanks. Martin >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On >> Behalf Of [EMAIL PROTECTED] >> Sent: Friday, February 08, 2002 4:33 AM >> To: [EMAIL PROTECTED] >> Subject: DBD::ODBC 0.34 - dependency on Perl 5.0 patchlevel 6 subversion >> 1? >> >> >> Just installed DBD::ODCB 0.34 on my test machine and got this: >> >> [martin@brimer DBD-ODBC-0.34]$ 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 >> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t >> t/01base............ok >> t/02simple..........Can't locate warnings.pm in @INC (@INC >> contains: blib/arch >> blib/lib /usr/lib/perl5/5.00503/i386-linux >> /usr/lib/perl5/5.00503/i386-linux >> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 >> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503/i386-linux >> /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux >> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 . >> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 >> /usr/lib/perl5/site_perl/5.005/i386-linux >> /usr/lib/perl5/site_perl/5.005 . ./t) >> at t/ODBCTEST.pm line 204. >> BEGIN failed--compilation aborted at t/ODBCTEST.pm line 204. >> BEGIN failed--compilation aborted at t/02simple.t line 5. >> dubious >> Test returned status 2 (wstat 512, 0x200) >> Undefined subroutine &Test::Harness::WCOREDUMP called at >> /usr/lib/perl5/5.00503/Test/Harness.pm line 288. >> make: *** [test_dynamic] Error 2 >> >> Same DBD::ODBC on another machine works fine. >> >> failing machine: >> ================ >> perl -V => 5.0 patchlevel 5 subversion 3 >> locate warnings.pm returns nothing >> >> working machine: >> ================ >> revision 5.0 version 6 subversion 1 >> locate warnings.pm => /usr/lib/perl5/5.6.1/warnings.pm >> >> Is this right or have I done something else wrong? >> >> Martin >> -- >> Martin J. Evans >> Easysoft Ltd, UK >> Development >> >> -- Martin J. Evans Easysoft Ltd, UK Development
