HTML :: TokeParser无法从CPAN安装

时间:2015-12-16 11:15:42

标签: perl html-parsing cpan

我无法从CPAN安装HTML::TokeParser此软件包。

cpan[6]>   install    HTML::TokeParser


Running install for module 'HTML::TokeParser'


Running make for G/GA/GAAS/HTML-Parser-3.71.tar.gz


  Has already been unwrapped into directory /root/.cpan/build/HTML-Parser-3.71-0zUSqw


Could not make: Unknown error


Running make test
  Can't test with enter code here out successful make

Running make install


  Make had returned bad status, install seems impossible

有人可以帮忙吗?

1 个答案:

答案 0 :(得分:-1)

你可以尝试:

perl -MCPAN -e'安装HTML :: TokeParser'

OR

Download the zipped tar file from one of the following:

http://search.cpan.org/~gaas/HTML-Parser-3.71/lib/HTML/TokeParser.pm
or
search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.71.tar.gz

Unzip the module as follows or use winzip:

       tar -zxvf HTML-Parser-3.71.tar.gz

The module can be installed using the standard Perl procedure:

    perl Makefile.PL
    make
    make test
    make install    # You may need to be root
    make clean      # or make realclean