Subject: | Installation fails if HTML::Parser not already installed |
Here's an extract from the build log:
t/64tags.t .......... ok
Can't locate loadable object for module HTML::Parser in @INC (@INC contains:
/home/mike/.cpanm/work/1319014037.16471/HTTP-Proxy-0.25/blib/lib
/home/mike/.cpanm/work/1319014037.16471/HTTP-Proxy-0.25/blib/arch
/home/mike/.cpanm/work/1319014037.16471 /secure/extlib/lib/perl5/x86_64-linux-
thread-multi /secure/extlib/lib/perl5/x86_64-linux-thread-multi /secure/extlib/lib/perl5
/secure/extlib/lib/perl5/x86_64-linux-thread-multi /secure/extlib/lib/perl5/x86_64-linux-
thread-multi /secure/extlib/lib/perl5 /secure/extlib/lib/perl5/x86_64-linux-thread-multi
/secure/extlib/lib/perl5/x86_64-linux-thread-multi /secure/extlib/lib/perl5
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-
linux-thread-multi /usr/lib/perl5/5.8.8 .) at t/66htmlparser.t line 5
Compilation failed in require at t/66htmlparser.t line 5.
BEGIN failed--compilation aborted at t/66htmlparser.t line 5.
# Looks like your test exited with 2 before it could output anything.
t/66htmlparser.t ....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/67complete.t ...... ok
After manually installing HTML::Parser, the HTTP::Proxy installation succeeded. I have
attached an updated Makefile.PL.
Subject: | Makefile.PL |
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'HTTP::Proxy',
VERSION_FROM => 'lib/HTTP/Proxy.pm',
PREREQ_PM => {
'Test::More' => 0,
'HTTP::Daemon' => 1.25,
'LWP::UserAgent' => 2,
'HTML::Parser' => 3.69,
},
PL_FILES => {},
ABSTRACT_FROM => 'lib/HTTP/Proxy.pm',
AUTHOR => 'Philippe "BooK" Bruhat <book@cpan.org>',
);