This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: execvp: /bin/bash: Argument list too long


>>> "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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]