Monday, 15 September 2014

perl - Unable to install HTML::TreeBuilder::XPath with cpanm -



perl - Unable to install HTML::TreeBuilder::XPath with cpanm -

i'm trying install html::treebuilder::xpath user. error :

building , testing html-parser-3.71 ... fail ! installing html::entities failed. see /home/user/.cpanm/build.log details.

so if take @ file /home/user/.cpanm/build.log error :

result: fail failed 3/48 test programs. 0/423 subtests failed. make: *** [test_dynamic] error 255 -> fail installing html::entities failed. see /home/user/.cpanm/build.log details. searching html::parser on cpanmetadb ... tried html-parser-3.71. skipping. tried html::tagset. skipping. -> fail bailing out installation html-tree-5.03. retry --prompt or --force. -> fail bailing out installation html-treebuilder-xpath-0.14. retry --prompt or --force. 3 distributions installed

so seek manualy install html::entities , error :

installed html-tagset-3.20 building , testing html-parser-3.71 ... fail ! installing html::entities failed. see /home/user/.cpanm/build.log details. 1 distribution installed can't locate html/tagset.pm in @inc (@inc contains: /home/user/.cpanm/work/1403630727.28688/html-parser-3.71/blib/lib /home/user/.cpanm/work/1403630727.28688/html-parser-3.71/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ /home/user/.cpanm/work/1403630727.28688/html-parser-3.71/blib/lib/html/tokeparser.pm line 10.

so can't locate html::tagset, has been installed few line before ! , @ end, errors :

result: fail failed 3/48 test programs. 0/423 subtests failed. make: *** [test_dynamic] error 255 -> fail installing html::entities failed. see /home/user/.cpanm/build.log details. 1 distribution installed

and if take @ /home/user/.cpanm/build.log same output.

what's wrong please ?

given cannot find html::tagset module command line, possible did not install it, despite beingness told had.

one other test wold be:

$ perldoc html::tagset

then using locate(1)

$ locate html/tagset.pm

you may lot of output you'll have go through, or might none. might told database locate relies on not initialized, or out of date. can either refresh database, or seek find(1)

$ find / -name 'tagset.pm' -print | less

if still cant find it, or grow tired of searching, fire favorite cpan client, , install html::tagset , html::entities explicitly.

perl dependencies cpan cpanm

No comments:

Post a Comment