Can't locate XML/LibXML/SAX.pm

1,814 views
Skip to first unread message

Gangadharan Krishnamoorthy

unread,
Oct 25, 2012, 11:47:29 PM10/25/12
to as...@googlegroups.com
I'm getting following error in astpperror.log

[Fri Oct 26 03:29:44 2012] [error] [client 198.1.1.1] Can't locate XML/LibXML/SAX.pm in @INC (@INC contains: /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 .) at (eval 18) line 1.


There is no directory which ends with XML/LibXML in above locations...so i manually created LibXML under /usr/local/share/perl/5.14.2 /XML..and copied the file SAX.pm

But after fixing that following error is thrown

Fri Oct 26 03:35:28 2012] [error] [client 198.1.1.1] Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/local/share/perl/5.14.2/XML/SAX/ParserFactory.pm line 41.

Could any please help me on this?

Thank you

Samir Doshi

unread,
Oct 27, 2012, 4:44:45 AM10/27/12
to as...@googlegroups.com
Please try to install libxml-sax-perl, libxml-simple-perl packages and
see if its working or not.

---
Thanks,
Samir Doshi

Gangadharan Krishnamoorthy

unread,
Oct 28, 2012, 1:03:57 AM10/28/12
to as...@googlegroups.com, sa...@astpp.org
Samir,
   Thanks for your reply..
Even after installing that it is not working

it is giving same error

Can't locate XML/LibXML/SAX.pm in @INC (@INC contains: /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 .) at (eval 18) line 1.

But the file is located at /usr/local/share/perl/5.14.2/XML/SAX.pm which is not in the above path

if i copy the file ,it is giving new error


> Fri Oct 26 03:35:28 2012] [error] [client 198.1.1.1] Can't locate
> object method "new" via package "XML::LibXML::SAX" at
> /usr/local/share/perl/5.14.2/
XML/SAX/ParserFactory.pm line 4


Regards
Gangadharan K

Gangadharan Krishnamoorthy

unread,
Oct 29, 2012, 7:46:47 PM10/29/12
to as...@googlegroups.com, sa...@astpp.org
i can able to fix by installing libxml-libxml-perl-* packages for ubuntu
Reply all
Reply to author
Forward
0 new messages