This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: execvp: /bin/bash: Argument list too long
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: "Aaron W. LaFramboise" <aaronenvelope277 at aaronwl dot com>
- Cc: automake at gnu dot org
- Date: Thu, 25 Nov 2004 21:25:04 +0100
- Subject: Re: execvp: /bin/bash: Argument list too long
- References: <41A55C15.5060802@aaronwl.com>
>>> "Aaron" == Aaron W LaFramboise <aaronenvelope277@aaronwl.com> writes:
Aaron> When running 'make install' for a project that installs a very long list
Aaron> of headers, I get this error:
Aaron> test -z "/aaronwl/cs/awl/install/include/awl" || mkdir -p --
Aaron> "/aaronwl/cs/awl/install/include/awl"
Aaron> make[3]: execvp: /bin/bash: Argument list too long
Aaron> make[3]: *** [install-nobase_pkgincludeHEADERS] Error 127
Aaron> What is the preferred way of fixing this?
I'd try to split nobase_pkginclude_HEADERS into two variables or
more, so that two install rules get generated.
pkginclude1dir = $(pkgincludedir)
pkginclude2dir = $(pkgincludedir)
nobase_pkginclude1_HEADERS = ...
nobase_pkginclude2_HEADERS = ...
Maybe there is a better way?
--
Alexandre Duret-Lutz