Welcome to iraf.net Thursday, April 25 2024 @ 10:45 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Error when running command cl
   
Maria
 12/02/2016 10:00AM (Read 1243 times)  
+----
Newbie

Status: offline


Registered: 12/01/2016
Posts: 2
I have installed Iraf in Cygwin but when I try to run the cl command this error appears:

os.zgtenv: cannot open `/usr/include/iraf.h'
task `cl' has no param file
Fatal startup error. CL dies.


 
Profile Email
 Quote
fitz
 12/06/2016 09:11AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

Did you run the IRAF install script as the root user or with the 'sudo' command? Did you define the correct $iraf root directory and did it include a trailing '/' character?

The /usr/include/iraf.h symlink is created by the install script and is used primarily by tasks to get the iraf root path since many other paths are constructed from this. If that link is invalid because the path given to the install script was wrong, or you simply didn't run the install script to create it, then this is the typical error. One workaround until this is sorted out is simply to define $iraf in your environment before starting the CL, e.g.

% setenv iraf /iraf/iraf/ # C-shell, trailing '/' required
% export iraf=/iraf/iraf/ # Bash, trailing '/' required

To make these permanent you can add them to your login files (e.g. $HOME/.login, $HOME/.cshrc, $HOME/.profile, etc).

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login