Hi Roderich,
Roderich Schupp wrote:
Looks like I was ultimately responsible for this problem, because I made
packed executables ignore PERL5LIB, PERL5OPT etc and
myldr/par and myldr/static are just the prototypical packed executables.
That makes sense. I wouldn't simply put the blame on you, though. Fixing
bugs is so often a trade-off.
This sounds quite likely. I think adding PAR and friends to
configure_requires would be an acceptable workaround.
Or try the following patch, which defers adding -I options corresponding to @INC
to the invocation of myldr/static (and myldr/par) from "perl Makefile.PL" time
to "make" time. I had to add the two line script myldr/run_with_inc.pl because
inlining it ("perl -e ...") led to all kinds of quoting problems.
If you apply this patch: is there a deeper reason that (in the
original myldr/Makefile.PL)
$lib_path comes _before_ "-I../myldr/.. -I../blib/lib" in the command
"$par ...",
but _after_ in the command "$par_exe ..."? My patch treats both as in
the "before" case.
Everything works on my perls after applying (as before). For lack of a
better test, I'll upload a new dev release _06 in a minute.
Cheers,
Steffen