Hi

Problem 1: I'm not sure how to tell PAR how to include the shared
library object for GD::Graph::lines (/usr/lib/libgd.so.2.0.0) in my
bundle (and not having to install the library on the remote host
itself). I've tried to use the following command:

pp -f Bleach -F 'Bleach=(patternA|patternB|patternC)\.p[lm]$' @opts.par
-M GD::Graph -o myprog.bin prog1.pl prog2.pl prog3.pl prog4.pl prog5.pl

When I use myprog.bin on another server (without libGD), I get the
following error:
Can't load
'/tmp/par-health/cache-f1dc890c8e266cab2a891d2b3617789425bf508b/7188d702.so'
for module GD: libgd.so.2: cannot open shared object file: No such file
or directory at
/usr/lib/perl5/5.8.8/i586-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/lib/perl5/5.8.8/PAR/Heavy.pm line 108
Compilation failed in require at GD/Graph/lines.pm line 18.
BEGIN failed--compilation aborted at GD/Graph/lines.pm line 18.
Compilation failed in require at (eval 18) line 8302.
BEGIN failed--compilation aborted at (eval 18) line 8302.

I have PAR 0.976, and I've tried both ScanDeps 0.70 and 0.77, but
neither resolves the above.

Problem 2: With ScanDeps 0.77 I in fact get a further problem where the
perl scripts are correctly bleached in
/tmp/par-user/..../inc/scripts/progname.pl but another un-bleached copy
gets created in /tmp/par-user/..../inc/lib/progname.pl. (This _only_
happens with ScanDeps 0.77, not with 0.70).

Any ideas would be appreciated!

Niel

Reply via email to