I wasn't able to test with 5.005 prior to release.

[Note that I've given notice that the DBI won't support 5.005 much longer.
You should give serious consideration to upgrading your perl soon.
Both 5.6.1 and 5.8.0 are excellent releases of perl.]

Meanwhile, you could try commenting out the "use strict;" at line 255.

Tim.

On Fri, Dec 13, 2002 at 06:21:23PM -0500, J. Ma wrote:
> Can someone tell me what causes the following errors (Global symbol
> "$imp_data_size" requires explicit package name at...) when I tried to do
> 'make test' on DBI 1.30?
> 
> Thanks,
> 
> John M.
> 
> PERL_DL_NONLAZY=1
> /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i686-linux -I/
> usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose);
> $verbose=0; runtests @ARGV;' t/*.t
> t/01basics..........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/01basics.t line 21.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/02dbidrv..........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/02dbidrv.t line 3.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/03hleak...........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/03hleak.t line 8.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-10
> Failed 10/10 tests, 0.00% okay
> t/04mods............Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/04mods.t line 8.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-3
> Failed 3/3 tests, 0.00% okay
> t/05thrclone........skipping test on this platform
> t/10examp...........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/10examp.t line 5.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/15array...........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/15array.t line 12.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-24
> Failed 24/24 tests, 0.00% okay
> t/20meta............Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/20meta.t line 19.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/30subclass........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/30subclass.t line 79.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/40profile.........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/40profile.t line 6.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/60preparse........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/60preparse.t line 3.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/70shell...........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at blib/lib/DBI/Shell.pm line 74.
> BEGIN failed--compilation aborted at t/70shell.t line 30.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/80proxy...........Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> BEGIN not safe after errors--compilation aborted at blib/lib/DBI.pm line
> 1055.
> BEGIN failed--compilation aborted at t/80proxy.t line 7.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> t/zz_01basics_pp....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_02dbidrv_pp....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_03hleak_pp.....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED tests 1-10
> Failed 10/10 tests, 0.00% okay
> t/zz_04mods_pp......Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED tests 1-3
> Failed 3/3 tests, 0.00% okay
> t/zz_05thrclone_pp..skipping test on this platform
> t/zz_10examp_pp.....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_15array_pp.....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED tests 1-24
> Failed 24/24 tests, 0.00% okay
> t/zz_20meta_pp......Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_30subclass_pp..Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_40profile_pp...Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_60preparse_pp..Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_70shell_pp.....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> t/zz_80proxy_pp.....Global symbol "$imp_data_size" requires explicit package
> name at blib/lib/DBI.pm line 1011.
> Global symbol "$err" requires explicit package name at blib/lib/DBI.pm line
> 1013.
> Global symbol "$drh" requires explicit package name at blib/lib/DBI.pm line
> 1016.
> FAILED before any test output arrived
> Failed Test Status Wstat Total Fail Failed List of failed
> ----------------------------------------------------------------------------
> ---
> t/01basics.t 255 65280 ?? ?? % ??
> t/02dbidrv.t 255 65280 ?? ?? % ??
> t/03hleak.t 255 65280 10 10 100.00% 1-10
> t/04mods.t 255 65280 3 3 100.00% 1-3
> t/10examp.t 255 65280 ?? ?? % ??
> t/15array.t 255 65280 24 24 100.00% 1-24
> t/20meta.t 255 65280 ?? ?? % ??
> t/30subclass.t 255 65280 ?? ?? % ??
> t/40profile.t 255 65280 ?? ?? % ??
> t/60preparse.t 255 65280 ?? ?? % ??
> t/70shell.t 255 65280 ?? ?? % ??
> t/80proxy.t 255 65280 ?? ?? % ??
> t/zz_01basics_p ?? ?? % ??
> t/zz_02dbidrv_p ?? ?? % ??
> t/zz_03hleak_pp 10 10 100.00% 1-10
> t/zz_04mods_pp. 3 3 100.00% 1-3
> t/zz_10examp_pp ?? ?? % ??
> t/zz_15array_pp 24 24 100.00% 1-24
> t/zz_20meta_pp. ?? ?? % ??
> t/zz_30subclass ?? ?? % ??
> t/zz_40profile_ ?? ?? % ??
> t/zz_60preparse ?? ?? % ??
> t/zz_70shell_pp ?? ?? % ??
> t/zz_80proxy_pp ?? ?? % ??
> 2 tests skipped.
> Failed 24/26 test scripts, 7.69% okay. 74/74 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 29
> 
> 

Reply via email to