Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I had a few perl installations (an older ActiveState, and Strawberry Perl), so for sanity's sake, I decided to uninstall them all, and reinstall the latest version from ActiveState. Added the necessary PAR and PAR Packager modules, but unfortunately still have issues.

Similar issues to before with "missing" modules.
Now I'm getting this:
Can't locate loadable object for module IO in @INC (@INC contains: COD +E(0x7cdc24) .) at C:/Perl/site/lib/PAR/Heavy.pm line 87 Compilation failed in require at C:/Perl/lib/IO/Handle.pm line 263. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Handle.pm line 263 +. Compilation failed in require at C:/Perl/lib/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Seekable.pm line 1 +01. Compilation failed in require at C:/Perl/lib/IO/File.pm line 133. BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 133. Compilation failed in require at -e line 376.
I found the par cache directory, and a bunch of cryptic named pm's therein, and when I run the .exe file from there, I get this:
Can't locate Win32.pm in @INC (@INC contains: .) at -e line 778. BEGIN failed--compilation aborted at -e line 963.
So it seems that it's finding more of the modules, just not all of them.
I know that Win32.pm is in there, because I can see it being added when pp is run:
Packing "Win32.pm"... Written as "Win32.pm"

It seems to me that there's something messed up with the pathing in PAR. As far as I can tell, all the modules are there, it's just that it doesn't know where to look when running the .exe

Is there some sort of "Include" environment var that can be set so it knows where to look for everything?

In reply to Re: "Can't locate XSLoader.pm..." from .exe created with pp by jprice
in thread "Can't locate XSLoader.pm..." from .exe created with pp by jprice

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found