Re: [Module::Build] The old "argument list too long" issue
Status: Beta
Brought to you by:
kwilliams
From: Eric W. <scr...@gm...> - 2006-05-29 17:09:58
|
# from Ken Williams # on Sunday 28 May 2006 03:35 pm: >In this thread the submitter describes a situation where he's seeing =A0 >the old "Argument list too long" error on Fedora Core when the test =A0 >suites try to run Build.PL scripts. And here I was thinking this was a shell thing. I guess I should have=20 known better from the fact that the value is set as a kernel constant. perl -e 'system(qw(perl -e), q(print @ARGV), 0..0xFFFF) and warn "$!";' >Any idea what we should do here, and/or how this popped up again? =A0 >Assuming this is a problem with a long @INC, I was thinking we should > =A0 perhaps optionally (default true?) not include any non-existent, > absolute @INC entries in run_perl_script() or wherever it is that's > currently failing. If reducing @INC to the set of unique and existent entries doesn't do=20 the trick, maybe you could create a temp (or _build) file with a bunch=20 of 'use lib' statements and -Mthat instead? If the longness comes from parameters, you could try xargs, but that=20 seems bound to cause trouble. =2D-Eric =2D-=20 Atavism n: The recurrence of any peculiarity or disease of an ancestor in a subsequent generation, usually due to genetic recombination. =2D-------------------------------------------------- http://scratchcomputing.com =2D-------------------------------------------------- |