gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
I have an program that makes a system call to an executable a la: my @output = `figlet Hello`. The problem is that figlet, my executable, is not on the destination computers by default. So, I'd like to package it up with pp, like so: pp --output=myprog --addfile=figlet script.pl
Problem is that when I run the delivered executable on the destination computer, figlet is apparently not in the path (where does PAR stick it?) How can I specify a path to this executable? Should I be executing figlet in a different way?
Update: I found that at least on Solaris, the pp'ed executable uncompressed into /tmp/par-cache/cache-nnnn/ and the added files go into inc directory within there. However, my added executable is for some reason uncompressed with 664 permissions and is no longer executable. What gives?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR --addfile
by SpanishInquisition (Pilgrim) on Sep 28, 2004 at 20:37 UTC | |
|
Re: PAR --addfile
by perlfan (Parson) on Sep 28, 2004 at 21:25 UTC | |
|
Re: PAR --addfile
by perlfan (Parson) on Sep 28, 2004 at 19:18 UTC | |
by gri6507 (Deacon) on Sep 28, 2004 at 19:26 UTC | |
by perlfan (Parson) on Sep 28, 2004 at 19:32 UTC | |
by gri6507 (Deacon) on Sep 28, 2004 at 19:42 UTC | |
|
Re: PAR --addfile
by iburrell (Chaplain) on Sep 28, 2004 at 19:40 UTC | |
|
Re: PAR --addfile
by fglock (Vicar) on Sep 28, 2004 at 21:23 UTC | |
|
Re: PAR --addfile
by Beechbone (Friar) on Nov 05, 2013 at 14:39 UTC |