After (much) more experiments, I've noticed that the result of 'pp -P' works fine between macOS and Windows (I can pack on a platform an run it on the other without problem, both ways).
On the Linux box where it fails to run, PAR::Heavy is not installed, so the error message is actually clear!
On my mac, PAR::Heavy is installed in both perlbrew (probably done by me) and system perl (not done by me, I think).
On Windows (Strawberry Perl), PAR::Heavy is installed by default (in perl\vendor\lib)
So, this module is not a core module, but apparently "most/many" Perl distributions install it, is it correct?
Should it also be present on the Linux server? I suspect it's not available because its dependency Archive::Zip fails to install.
Many thanks all of you for the advice so far.
-
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.
|