Hi list,
When I compile Devel::Symdump with /usr/perl5/bin/perl (OS supplied perl)
both make and make test return successful result. When I try to compile it
with my own customized perl in /usr/local/pkgs/perl-5.10.0/bin/perl make
works but make test doesn't succeed. I have observed that these two
different perl generate different make files. The ExtUtils::MakeMaker
version on OS perl is 6.17 and
$cd Devel-Symdump-2.08/
$
$
$ /usr/local/pkgs/perl-5.10.0/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Symdump
$
$make
cp lib/Devel/Symdump.pm blib/lib/Devel/Symdump.pm
cp lib/Devel/Symdump/Export.pm blib/lib/Devel/Symdump/Export.pm
Manifying blib/man3/Devel::Symdump.3
$
$
$make test
PERL_DL_NONLAZY=1 /usr/local/pkgs/perl-5.10.0/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/autogen.....ok
t/diff........ok
t/export......ok
t/pod.........ok
t/podcover....skipped
all skipped: Test::Pod::Coverage required for testing pod coverage
t/recur.......ok
t/symdump.....ok 1/13
# Failed test '^H @ Config ENV INC SIG'
t/symdump.....NOK 2/13# at t/symdump.t line 51.
# Looks like you failed 1 test of 13.
t/symdump.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/13 tests, 92.31% okay
t/tree........ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/symdump.t 1 256 13 1 2
1 test skipped.
Failed 1/8 test scripts. 1/31 subtests failed.
Files=8, Tests=31, 1 wallclock secs ( 0.16 cusr + 0.03 csys = 0.19 CPU)
Failed 1/8 test programs. 1/31 subtests failed.
*** Error code 255
make: Fatal error: Command failed for target `test_dynamic'
$
$
$
$ make distclean
rm -f \
*.a core \
core.[0-9] blib/arch/auto/Devel/Symdump/extralibs.all \
core.[0-9][0-9] Symdump.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
Symdump.x \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/Devel/Symdump/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl Symdump.def \
core.[0-9][0-9][0-9] mon.out \
libSymdump.def perlmain.c \
perl.exe so_locations \
Symdump.exp
rm -rf \
*/*/*~ blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile.old Makefile
rm -rf \
Devel-Symdump-2.08
/usr/local/pkgs/perl-5.10.0/bin/perl "-MExtUtils::Manifest=fullcheck" -e
fullcheck
$
$/usr/perl5/bin/perl Makefile.PL Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Symdump
$
$
$ make
cp lib/Devel/Symdump.pm blib/lib/Devel/Symdump.pm
cp lib/Devel/Symdump/Export.pm blib/lib/Devel/Symdump/Export.pm
Manifying blib/man3/Devel::Symdump.3
$
$ make test
PERL_DL_NONLAZY=1 /usr/perl5/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autogen.....ok
t/diff........ok
t/export......ok
t/pod.........skipped
all skipped: Test::Pod 1.00 required for testing POD
t/podcover....skipped
all skipped: Test::Pod::Coverage required for testing pod coverage
t/recur.......ok
t/symdump.....ok
t/tree........ok
All tests successful, 2 tests skipped.
Files=8, Tests=29, 0 wallclock secs ( 0.12 cusr + 0.00 csys = 0.12 CPU)
$
$/usr/bin/perl -V
<........>
Built under solaris
Compiled at Aug 8 2007 19:13:08
@INC:
/usr/perl5/5.8.4/lib/i86pc-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl
<.......>
$/usr/local/bin/perl -V
<........>
Compiled at Jan 6 2009 20:01:04
@INC:
/usr/local/pkgs/site_perl-5.10/lib/i86pc-solaris
/usr/local/pkgs/site_perl-5.10/lib
/usr/local/pkgs/perl-5.10.0/lib/i86pc-solaris
/usr/local/pkgs/perl-5.10.0/lib
<.......>