#BEGIN { warn "TEST: \$^X: \"$^X\" \$0: \"$0\" \$]: \"$]\" \@INC: \"@INC\"\n"; # for ( sort keys %ENV ) { # warn "ENV $_=$ENV{$_}\n"; #} } use Test; BEGIN { plan tests => 1 }; use B; ok(1); #### PERL_DL_NONLAZY=1 /home/josh/perl5.005_3/bin/perl -Iblib/arch -Iblib/lib -I/home/josh/perl5.005_3/lib/perl5/5.00503/i586-linux -I/home/josh/perl5.005_3/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/03b...............Can't load '/home/josh/perl5.005_3/lib/perl5/5.00503/i586-linux/auto/B/B.so' for module B: /home/josh/perl5.005_3/lib/perl5/5.00503/i586-linux/auto/B/B.so: undefined symbol: Perl_byterun at /home/josh/perl5.005_3/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169. at t/03b.t line 3 BEGIN failed--compilation aborted at t/03b.t line 3. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/03b.t 2 512 1 1 100.00% 1 Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 #### use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'B::Source', 'VERSION_FROM' => 'lib/B/Source.pm', # finds $VERSION 'PREREQ_PM' => { List::Util => 0, B => 0 }, ($] >= 5.005 ? (ABSTRACT_FROM => 'lib/B/Source.pm', AUTHOR => 'A. U. Thor ') : ()), );