[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]problem with build, /usr/local/bin/cscc: Argument list too l

From: Rhys Weatherley
Subject: Re: [DotGNU]problem with build, /usr/local/bin/cscc: Argument list too long
Date: Sun, 8 Aug 2004 13:55:30 +1000
User-agent: KMail/1.4.3

On Sunday 08 August 2004 12:39 pm, michael johnson wrote:
> Hi,
>       I'm having trouble getting ml-pnet 0.6.8 compiled on freebsd, cscc
> dies because the argument list is too long.
> /usr/local/bin/cscc: Argument list too long
> *** Target `all' for project `System.Web' failed ***
> *** Project `System.Web' build failed ***
> gmake[2]: *** [System.Web.dll] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/lang/ml-pnet/work/ml-pnet-0.6.8/class/System.Web'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/lang/ml-pnet/work/ml-pnet-0.6.8/class'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
> the default max arg. on freebsd is
> address@hidden /usr/ports/lang/ml-pnet > sysctl kern.argmax
> kern.argmax: 65536
> Is there a workaround I could use , ie. compile only 1/2 then compile
> the other 1/2?

You could try unpacking and building the distribution in a directory that has 
a shorter path than "/usr/ports/lang/ml-pnet/work" (e.g. /tmp).  It is the 
length of the pathnames that cause the overflow.

The permanent fix is to modify "pnet/support/spawn.c" to use response files 
under FreeBSD (currently it only uses them for Windows).  Feel free to send 
me a patch for this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]