install.sh, Convert::BinHex, no "make test"?
Jeff A. Earickson
jaearick at colby.edu
Tue Apr 25 14:17:30 IST 2006
Julian,
I was attempting to build and install the various perl modules
for mailscanner by hand, and Convert-BinHex-1.119 fails
"make test" miserably on my system (Solaris 10, perl 5.8.8 compiled
with Sun's Studio10 compiler, GNU make):
% perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::BinHex
% gmake
cp lib/Convert/BinHex.pm blib/lib/Convert/BinHex.pm
Manifying blib/man3/Convert::BinHex.3
% gmake test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/comp2bin....Can't locate package Exporter for @Checker::ISA at t/comp2bin.t line 3.
Undefined subroutine &main::check called at t/comp2bin.t line 75.
t/comp2bin....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/comp2bin.t 255 65280 9 18 200.00% 1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
gmake: *** [test_dynamic] Error 255
I was really impressed that it failed ** 200% ** of its tests.
Now that's bad!!
So I wondered why the MailScanner install.sh script didn't bomb
out the same way. I discovered that the "make test" argument for
perlinstmod() is set to "no" for Convert-BinHex-1.119 -- the only
perl module to suffer this indignity. Harrumph. What's going on
here? I'm not wild about non-functional perl modules buried in
a MailScanner install...
Jeff Earickson
Colby College
More information about the MailScanner
mailing list