View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

problems with cl

Poon Helen wrote on Sep 24, 2008

i am a beginner to IRAF.
Yesterday someone gave me an iraf package of photometry. I put it in the folder of iraf(in the root) and today when I entered "cl", it says "cannot find iraf212/iraf/binxxx/cl.e! "
Can anybody help?The file login.cl is still in the folder

Thanks a lot.

Mike Fitzpatrick wrote on Sep 24, 2008

From the error message I can deduce that your $iraf environment variable (or the iraf path set when the install script was run) is set to "iraf212/iraf" (assuming the message is literally what you see). Most likely this path is wrong and should be something like "/iraf/iraf/" or perhaps "/iraf212/iraf". If you're not setting this explicitly yourself, check the value of 'IRAF" defined in the /usr/include/iraf.h file, this is what was specified to the install script. You can re-run the install script to change the path if needed.

Otherwise, what platform is this? Can you cd to the $iraf/bin.<arch> directory and see the cl.e binary or is it empty? If empty, there may have been a problem in how the system was unpacked (e.g. binaries in the wrong place or not installed at all).

-Mike

Last post on Sep 24, 2008