View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Install fail on Macos 10.6.8

watsodw wrote on Dec 21, 2011

I installed the current iraf according to the README file instructions to /usr/local/iraf/iraf and ran mkiraf in my home directory, but when I run cl I get the following error:

dwwatson - /Users/dwwatson - 21 -->sudo cl
limit: stacksize: Can't remove limit (Invalid argument)
ERROR: Cannot change directory to `limit:'
called as: `chdir (limit:)'
called as: `cl ()'
called as: `cl ()'
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.

Running cl without sudo only resonds with:

ERROR: Cannot change directory to `

and freezes. I have set the proper env variables as:

setenv IRAFARCH macosx
setenv iraf /usr/local/iraf/iraf/
source /usr/local/iraf/iraf/unix/hlib/irafuser.csh

Anybody have any ideas what is going on?

Mike Fitzpatrick wrote on Dec 21, 2011

The 'stacksize' limit is only changed on linux systems, since you use 'sudo' this may mean that the root account environment is mis-defined but you don't need to use sudo anyway.

To trace what the 'cl' command is doing, run it as


% csh -x /usr/local/bin/cl


Otherwise, do you perhaps have a loginuser.cl file that might be trying to change directories?

Last post on Dec 21, 2011