Mark Stosberg wrote:

>I want to create a standalone CGI script that I can deploy on a basic
>Linux hosting account that lacks all these dependencies. 
>
>I tried several variations of: pp -v -o par-test.cgi script.cgi
>
>  
>

Hello Mark,

I am not sure if this the optimal way to do it but usually I do the
following.

1. I usually run scandeps.pl (used internally by pp) on the
"to-be-packaged" scripts and figure out if there is something missing.
2. It needs sometimes some cycles before finding all dependencies,
especially if some modules do runtime requires.
3. I unzip the resulting par file (it is a zip archive) and point the
script to the lib/ directory (either by a use lib... or
-I/myapplication/lib)

HTH,
Cheers,

             -salih

Reply via email to