Perl Programming Language
Using CPAN to install Mail::Box module
I am using CPAN to install Mail::Box module. It can be installed on
FC5, but always return errors on RHEL AS4.
Here is the error log info. I only attached the tail part, because
it's very long.
/usr/bin/make -- OK
Running make test
Prepending /root/.cpan/build/TimeDate-1.16/blib/arch /root/.cpan/build/
TimeDate- 1.16/blib/lib /root/.cpan/build/MailTools-1.77/blib/arch /
root/.cpan/build/MailT ools-1.77/blib/lib /root/.cpan/build/Font-
AFM-1.19/blib/arch /root/.cpan/build/F ont-AFM-1.19/blib/lib /
root/.cpan/build/User-Identity-0.91/blib/arch /root/.cpan /build/User-
Identity-0.91/blib/lib /root/.cpan/build/HTML-Format-2.04/blib/arch /
Tree-3.23/bli b/arch /root/.cpan/build/HTML-Tree-3.23/blib/lib /
root/.cpan/build/Digest-SHA1-2 .11/blib/arch /root/.cpan/build/Digest-
SHA1-2.11/blib/lib /root/.cpan/build/Mail -Box-Parser-C-3.006/blib/
arch /root/.cpan/build/Mail-Box-Parser-C-3.006/blib/lib /root/.cpan/
lib/lib /root/.cpan/build/Digest-HMAC-1.01/blib/arch /root/.cpan/build/
Digest-HM AC-1.01/blib/lib /root/.cpan/build/IO-stringy-2.110/blib/
arch /root/.cpan/build/ IO-stringy-2.110/blib/lib /root/.cpan/build/
Later-0.16/blib/lib /root/.cpan/build/HTML-Pars er-3.56/blib/arch /
root/.cpan/build/HTML-Parser-3.56/blib/lib /root/.cpan/build/ File-
Remove-0.34/blib/arch /root/.cpan/build/File-Remove-0.34/blib/lib /
root/.cp an/build/Mail-Transport-Dbx-0.07/blib/arch /root/.cpan/build/
Mail-Transport-Dbx- 0.07/blib/lib /root/.cpan/build/Time-HiRes-1.9707/
blib/arch /root/.cpan/build/Ti me-HiRes-1.9707/blib/lib to PERL5LIB.
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
"execute_tests" is not exported by the Test::Harness module
Can't continue after import errors at test.pl line 16
BEGIN failed--compilation aborted at test.pl line 16.
# Looks like your test died before it could output anything.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
I checked the Test::Harness module, but didn't find the
Also I tried downloading the source code and the same errors as above
are returned during "make" execution.
I don't know where the problem is. There are tons of dependencies to
have this module installed.
"Michael Yang" <Michael.
@gmail.com> wrote in message
> "execute_tests" is not exported by the Test::Harness module Looking at %prereq in the Mail::Box Makefile.PL you'll see that version 2.62
(or later) of Test::Harness is required.
I suspect you have an earlier version of Test::Harness that doesn't export
"execute_tests" - as is the case with the version (2.56) of Test::Harness
that I have.
Updating Test::Harness should fix the problem.
I would have thought that CPAN.pm would have detected this and first
installed the latest version of Test::Harness before proceeding with
building Mail::Box - but I don't use CPAN, so I don't really know what has
Perhaps the latest version of Test::Harness *did* get installed, but into a
different location than the old version, and the old version is still being
found first ? (Dunno ... just speculating.)
On May 31, 2:14 pm, "Sisyphus" <email@example.com> wrote:
Thanks a lot, Rob!
After I updated the Test::Harness module, the Mail::Box is installed