Can't locate XML/Parser.pm [Gentoo] [Perl]

Trädvy Permalänk
Medlem
Plats
tty0
Registrerad
Feb 2005

Can't locate XML/Parser.pm [Gentoo] [Perl]

Hej jag försöker köra en fil som kräver XML-DOM så jag tog och körde
# emerge XML-DOM
# emerge XML-DOM XML-XSLT -va
och får sedan detta felmedelande när jag försöker köra filen

./nzbperl.pl Can't locate XML/DOM.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at ./nzbperl.pl line 39. BEGIN failed--compilation aborted at ./nzbperl.pl line 39.

Trädvy Permalänk
Medlem
Plats
Borås
Registrerad
Maj 2002

har du kollat så att perl kan hitta modulen?

flippy @ Quakenet

Trädvy Permalänk
Medlem
Plats
tty0
Registrerad
Feb 2005

Nej, vet ej hur man gör det.
Hur gör man?

# qpkg -l XML-DOM

/usr /usr/lib /usr/lib/perl5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto/XML-DOM /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto/XML-DOM/.packlist /usr/lib/perl5/vendor_perl/5.8.6/XML /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM.pm /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/DocumentType.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/DOMException.pm /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/DocumentFragment.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/AttlistDecl.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Notation.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/PerlSAX.pm /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Attr.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/NamedNodeMap.pm /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/ProcessingInstruction.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Entity.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/NamedNodeMap.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Document.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Parser.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Comment.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Element.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/NodeList.pm /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/XMLDecl.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/CDATASection.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Node.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/ElementDecl.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/DOMImplementation.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/EntityReference.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/CharacterData.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/NodeList.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/Text.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/DOM/AttDef.pod /usr/lib/perl5/vendor_perl/5.8.6/XML/Handler /usr/lib/perl5/vendor_perl/5.8.6/XML/Handler/BuildDOM.pm /usr/lib/perl5/5.8.6 /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/share /usr/share/man /usr/share/man/man3 /usr/share/man/man3/XML::DOM.3pm.gz /usr/share/man/man3/XML::DOM::DocumentFragment.3pm.gz /usr/share/man/man3/XML::DOM::AttlistDecl.3pm.gz /usr/share/man/man3/XML::DOM::PerlSAX.3pm.gz /usr/share/man/man3/XML::DOM::Notation.3pm.gz /usr/share/man/man3/XML::DOM::Attr.3pm.gz /usr/share/man/man3/XML::DOM::ProcessingInstruction.3pm.gz /usr/share/man/man3/XML::DOM::NamedNodeMap.3pm.gz /usr/share/man/man3/XML::DOM::Entity.3pm.gz /usr/share/man/man3/XML::DOM::Document.3pm.gz /usr/share/man/man3/XML::DOM::Parser.3pm.gz /usr/share/man/man3/XML::DOM::Comment.3pm.gz /usr/share/man/man3/XML::DOM::Element.3pm.gz /usr/share/man/man3/XML::DOM::XMLDecl.3pm.gz /usr/share/man/man3/XML::DOM::Node.3pm.gz /usr/share/man/man3/XML::DOM::ElementDecl.3pm.gz /usr/share/man/man3/XML::DOM::DOMImplementation.3pm.gz /usr/share/man/man3/XML::DOM::EntityReference.3pm.gz /usr/share/man/man3/XML::DOM::AttDef.3pm.gz /usr/share/man/man3/XML::DOM::Text.3pm.gz /usr/share/man/man3/XML::DOM::NodeList.3pm.gz /usr/share/man/man3/XML::DOM::CharacterData.3pm.gz /usr/share/man/man3/XML::DOM::DocumentType.3pm.gz /usr/share/man/man3/XML::Handler::BuildDOM.3pm.gz /usr/share/man/man3/XML::DOM::CDATASection.3pm.gz /usr/share/perl /usr/share/perl/gentoo-pods /usr/share/perl/gentoo-pods/5.8.6 /usr/share/perl/gentoo-pods/5.8.6/XML-DOM-1.43.pod /usr/share/perl/gentoo-pods/5.8.6/XML-DOM-1.43.pod.arch /usr/share/doc /usr/share/doc/XML-DOM-1.43 /usr/share/doc/XML-DOM-1.43/Changes.gz /usr/share/doc/XML-DOM-1.43/MANIFEST.gz /usr/share/doc/XML-DOM-1.43/README.gz

Som jag ser verkar en del pather in stämma, hur fixar man det?

LÖST: jag körde
# emerge TermReadKey
sedan fungerade det.