thomas11 has asked for the wisdom of the Perl Monks concerning the following question:
Using PAR, there are two options: create a Perl script, or create a stand-alone executable.
Trying to create a Perl script withpp -P -B -o scandeps.par.pl `which scandeps.pl`I get
$ perl ~/scandeps.par.pl 7tmr_stats_updater.pl No such file or directory at /work/software/perlbrew/perls/current/bin/par.pl line 855.I had expected a standalone script to not depend on par.pl, but maybe I misunderstood. Trying to create a stand-alone executable with
pp -o scandeps `which scandeps.pl`fails because the target machine's glibc is older than the one on the build machine, so the perl that pp embeds cannot run.
Is there a way I can package scandeps.pl with all its (Perl) dependencies, and run the resulting bundle with the target machine's perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR packaging woes
by Anonymous Monk on Nov 02, 2010 at 18:04 UTC | |
by thomas11 (Novice) on Nov 03, 2010 at 08:27 UTC | |
|
Re: PAR packaging woes
by Anonymous Monk on Nov 02, 2010 at 19:33 UTC | |
|
Re: PAR packaging woes
by lamprecht (Friar) on Nov 03, 2010 at 17:11 UTC |