Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extend environment size in AIX 5.2 ?

Status
Not open for further replies.

colmmagoo

Programmer
Aug 19, 2004
6
US
Hi,

I'm encountering a problem while trying to build some freeware on AIX 5.2:

$ make
set -e; for i in antlr lib do \
echo ============================= ; \
echo Making $i ... ; \
echo ============================= ; \
make -C $i; \
done
make: execvp: /bin/sh: The parameter or environment lists are too long.
make: *** [subdirs] Error 127

My understanding is that the command line size is too big, or one of the environment variables that it needs to use is too big.

Is the commandline size shared with the environment on AIX ? Anyone know how to increase the size of the environment on AIX ? (in linux it's compiled in with the kernel).

Would increasing ulimits help alleviate this problem ?

Thanks for any clues!
Colm.
 
Take a look at smitty ==> System Environments ==> Change / Show Characteristics of the Operating System and look at the last parm ARG/ENV List size. Hit F1 and read the help for this parm


Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top