Welcome to iraf.net Friday, April 26 2024 @ 10:58 PM GMT
Maria |
12/02/2016 10:00AM (Read 1245 times)
|
|
|
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.
|
|
|
|
fitz |
12/06/2016 09:11AM
|
|
|
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).
|
|
|
|
| |
|
Content generated in: 0.14 seconds |
|