Open cgebe opened 6 years ago
Solution:
$ apt-get install -y cpanminus
$ cpanm --force XML::Parser
For me the command sudo apt-get install libxml-parser-perl
worked. However, the parser was not installed in my case and cpanminus
didn't worked.
is there a mac equivalent?
@sshleifer I'm not a Mac user but I would guess:
brew install libxml2
perl/cpanminus
http://www.cpan.org/modules/INSTALL.htmlcpanm --force XML::Parser
On systems with yum
, this works well:
sudo yum install -y "perl(XML::LibXML)"
See also: https://grantm.github.io/perl-libxml-by-example/installation.html
And, for good measure, to avoid another common error:
sudo yum install -y "perl(DB_File)"
Is there a Windows equivalent?
@wentinghome I'm not using Windows.
However, it seems like you may install perl with either strawberry
or activestate
(see https://grantm.github.io/perl-libxml-by-example/installation.html#installing-on-windows) so you can:
# strawberry
cpan XML::LibXML
# active state
ppm install XML::LibXML
how to resolve this problem without using sudo
in for Ubuntu? I am having a hard time. If someone can help that will be great!
ROUGE-1.5.5.pl has a XML::Parser dependency, without this module installed, the following error is printed:
Probably good to mention in the README