Hello Monks,
I try to port some of my perlscripts that i am using on a dev machine to Production environment. My Problem is that i can not install Modules on the target machine plus it has no inet connection also my dev machine runs ubuntu with perlbrew environment and the production environment is a solaris machine with standard perl installation. So i tried to work with PAR:Packer (for the first time) but i cant get the scripts to work on the target.
Here is what i do:
# pp -P -o superscript.pl script.pl
->transfer to prod machine
# perl superscript.pl
Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0x77a1c) /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /home/user/perl5/perlbrew/perls/perl-5.14.2/bin/par.pl line 348.
can some one help me get this to work? do i need par on the target?
thanks in advance
-
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.
|