[ic] Perl module troubles

Peter peter at pajamian.dhs.org
Tue Dec 16 20:59:54 UTC 2008


On 12/16/2008 07:32 AM, DB wrote:
> [root at dsbweb01 interchange-5.6.1]# perl -MCPAN -e 'install "HTML::Parser"'

> Warning: prerequisite HTML::Tagset 3 not found.
> 'LICENSE' is not a known MakeMaker parameter name.
> Writing Makefile for HTML::Parser
> ---- Unsatisfied dependencies detected during
> [G/GA/GAAS/HTML-Parser-3.59.tar.gz] -----
>     HTML::Tagset
> Shall I follow them and prepend them to the queue
> of modules we are processing right now? [yes]

> All tests successful, 1 test skipped.
> Files=3, Tests=3,  0 wallclock secs ( 0.03 cusr +  0.01 csys =  0.04 CPU)
>   /usr/bin/make test -- OK
> Running make install
> Writing /usr/local/interchange/lib/auto/HTML/Tagset/.packlist
> Appending installation info to /usr/local/interchange/lib/perllocal.pod
>   /usr/bin/make install  -- OK
> Running make for G/GA/GAAS/HTML-Parser-3.59.tar.gz

>         1/1 skipped: Can't locate HTTP/Headers.pm in @INC (@INC
> contains: /usr/local/interchange/src/build/HTML-Parser-3.59/blib/lib
> /usr/local/interchange/src/build/HTML-Parser-3.59/blib/arch
> /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
> /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .)
> at
> /usr/local/interchange/src/build/HTML-Parser-3.59/blib/lib/HTML/HeadParser.pm
> line 99.

> t/linkextor-base.....Can't locate HTML/Tagset.pm in @INC (@INC contains:

> t/linkextor-rel......Can't locate HTML/Tagset.pm in @INC (@INC contains:

> t/tokeparser.........Can't locate HTML/Tagset.pm in @INC (@INC contains:

> Failed 3/48 test scripts, 93.75% okay. 26/436 subtests failed, 94.04% okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force

Basically it can't find HTML::Tagset, even though it successfully
installed it as a dependency.  I would suspect a CPAN or perl
configuration error, find out where HTML::Tagset got installed and check
that it's in the @INC path mentioned above.

Also it can't find HTTP::Headers, but this does not appear to be
critical to installing HTML::Parser.  It may be the same problem, though.

Peter




More information about the interchange-users mailing list