Wed May 28 10:19:54 2014: Request 59224 was acted upon. Transaction: Correspondence added by RSCHUPP Queue: PAR-Packer Subject: make error with version 1.006 on aix 5.3 Broken in: (no value) Severity: (no value) Owner: RSCHUPP Requestors: emanuel.reisin...@ils.at Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=59224 >
On 2014-05-28 05:53:59, emanuel.reisin...@imtech-logistics.com wrote: > Can this ncargs requirement really not be avoided by the distribution? > It was not a problem during earlier PAR::Packer distributions I built > (at least 0.970, possibly 0.976). Well script/par.pl went from 26536 bytes in PAR::Packer 0.970 to 29466 bytes in 1.018. Not much, but apparently enough to hit the limited argv space in AIX. Can you try the patch below which shrinks the infamous fakeargv[2] by about 8k. Cheers, Roderich Index: myldr/par_pl2c.pl =================================================================== --- myldr/par_pl2c.pl (revision 1461) +++ myldr/par_pl2c.pl (working copy) @@ -13,6 +13,8 @@ print "const char *$var =\n"; foreach (split(/\n/, $slurp)) { + s/^\s*|\s*$//g; # strip leading and trailing whitespace + next if /^#|^$/; # skip comment and empty lines s/(["\\])/\\$1/g; # escape quotes and backslashes print qq["$_\\n"\n]; }