Since you are on OS X 10.7.5, I don't think you need to do this at all. The instructions mention the requirement is for OS X "up to version 10.2.8". I install OCaml on Mac all the time without changing this setting. Currently I have: $ ulimit -s 8192 On Mon, Apr 1, 2013 at 9:11 PM, wrote: > I installed OCaml on Mac OS X 10.7.5, reading README and INSTALL. > > in the README document, > https://sympa-roc.inria.fr/wws/info/caml-list > can not connected directly. > > In the INSTALL document, > "* Under MacOS X up to version 10.2.8, you must raise the limit on the > stack size with one of the following commands: > > limit stacksize 64M # if your shell is zsh or tcsh > ulimit -s 65536 # if your shell is bash " > > But > ulimt -s 65536 yield > "ulimit: stack size: cannot modify limit: Invalid argument" > > I change the value 65536 to 65532 > ulimit -s 65532 > and 65532 is recognized the maximum number on Macintosh 10.7.5 (Macbook pro > and iMAC). > > Are there any differences on the Macintosh OS version or Machine type? > > Best Regards. > Ogawa Kiyoshi > > Activity record are > http://researchmap.jp/jolsk0um1-1861956/#_1861956 > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >