Welcome to iraf.net Friday, May 10 2024 @ 12:41 AM GMT
Anonymous: Guest |
06/13/2007 06:30AM (Read 2542 times)
|
|
|
|
Dear Sir/Madam,I would like to install IRAF V2.12.1 on my decktop running Redhat-like
linux CentOS 5. The installation finished with no problem, however the
IRAF cannot be initiatized (cannot start iraf session with 'cl'
command). Below are some information:1) 'IRAF V2.12.1 System Installation' script completed with:
"Congratulations! IRAF has been successfully installed on this system."
..
"Installation Completed With No Errors."2) System settings:
New iraf root directory: /iraf/iraf
Default root image storage directory: /iraf/imdirs
Local unix commands directory: /usr/local/bin
Hostname = localhost.localdomai OS version = Linux 2.6.18-8.el5
Architecture = redhat HSI arch = redhat
New iraf root = /iraf/iraf Old iraf root = /iraf/iraf
New imdir = /iraf/imdirs Old imdir = /d0/imdirs
Local bin dir = /usr/local/bin3) I'd tried the following commands in all user, included IRAF, root:setenv iraf /iraf/iraf/
source $iraf/unix/hlib/irafuser.cshBut the the command 'login.cl' didn't work as 'Permission denied' in
non-iraf user.
However, sometime under IRAF login, 'login.cl' worked and I typed the
followings:mkiraf
initalize uparm? Y
enter terminal type: xtermThen I started ds9 and xterm and type 'cl', then 'command not found.'.What should I do? I have no experience on installation of IRAF.I am looking forward for your advice. Thanks.Regards,
SO Chu Wing
Research student
department of Physics
University of Hong Kong
|
|
|
|
fitz |
06/13/2007 06:30AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The 'login.cl' file isn't a command, it's a startup script for IRAF. To start IRAF, you would normally first do a 'mkiraf' to create the login.cl and a 'uparm' directory for storing parameters. Thereafter, the 'cl' command is used to login to IRAF.A 'command not found' message usually means you just don't have the 'local bin directory' in your path, but sometimes after installing a new command you need to type 'rehash' at the unix prompt to pick up the new commands. Edit the 'path' (or 'PATH') settings in your .login/.cshrc file to include /usr/local/bin, or try starting explicitly with the command[code:1:c493923bf1]% /usr/local/bin/mkiraf
% /usr/local/bin/cl[/code:1:c493923bf1] Hope this helps,
-Mike
|
|
|
|
| |
|
Content generated in: 0.07 seconds |
|