Re: can't locate XML/LibXML.pm

On Tuesday 14 April 2009, Peter Garscha wrote:

> Can't locate XML/LibXML.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 etc.) at ./check
> line 64.

Note perl version 5.10.0 in the above.

> But this file is under
> /usr/local/lib/perl5/site_perl/5.8.9/i686-linux/XML/LibXML.pm

Note perl version 5.8.9 here.

> So, how do I get this path in @INC?

The easiest way is probably to reinstall XML-LibXML, making sure that you're 
using the perl version to install it that you're going to run the validator 
with (guessing 5.10.0 from the above).

Received on Tuesday, 14 April 2009 18:10:33 UTC