Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: After compiling a script using PAR::Packer I get the error Can't locate XML/LibXML/SAX.pm in @INC

by ikegami (Patriarch)
on May 15, 2015 at 18:13 UTC ( [id://1126801]=note: print w/replies, xml ) Need Help??


in reply to After compiling a script using PAR::Packer I get the error Can't locate XML/LibXML/SAX.pm in @INC

First of all, XML::LibXML (and thus XML::LibXML::SAX) come with Strawberry Perl. So you do have the module.

In your Perl installation, there's a file named XML/SAX/ParserDetails.ini that says which SAX parsers you have installed. XML::Simple uses the first parser listed in this file. For you, that parser is XML::LibXML:SAX.

The problem is that PAR::Packer doesn't know this, so it didn't include XML::LibXML:SAX in the distributable package. You'll need to notify PAR::Packer of this when you create the distributable package.

pp -M XML::LibXML::SAX ...

Updated due to a better understanding of the question.

  • Comment on Re: After compiling a script using PAR::Packer I get the error Can't locate XML/LibXML/SAX.pm in @INC
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: After compiling a script using PAR::Packer I get the error Can't locate XML/LibXML/SAX.pm in @INC
by Anonymous Monk on May 15, 2015 at 23:27 UTC
      I've never used pp. Feel free to provide the more complete command.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1126801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-16 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found