Welcome to iraf.net Thursday, May 02 2024 @ 07:27 AM GMT
arthit |
08/04/2006 09:09AM (Read 6575 times)
|
|
|
Status: offline
Registered: 08/04/2006
Posts: 4
|
I am installing iraf v2.12 in my labtop, using RedHat9.0.
Core iraf and BIN files are extracted at /home/iraf/iraf and
/home/iraf/irafbin follow in PC-IRAF installation guide. Next, I try to
run the install script. I cannot use 'setenv iraf /home/iraf/iraf/' but
can use 'setenv iraf /home/'. I don't know it's cause cannot run
'./install -n' with iraf account later. can you help me why and how is it.
Thank you. :wink:
|
|
|
|
pweilbacher |
08/04/2006 09:09AM
|
|
|
Status: offline
Registered: 03/07/2006
Posts: 19
|
Why can you not "setenv iraf /home/iraf/iraf/"? I have done that on some systems in the past and it always worked well. What are the error messages that you get?
|
|
|
|
arthit |
08/04/2006 09:09AM
|
|
|
Status: offline
Registered: 08/04/2006
Posts: 4
|
dear pweilbacher,[img:27b91c559b]http://physics.science.cmu.ac.th/install01.jpg[/img:27b91c559b]
|
|
|
|
arthit |
08/04/2006 09:09AM
|
|
|
Status: offline
Registered: 08/04/2006
Posts: 4
|
if I use 'setenv iraf /home/', I can run './install -n' but cannot enter iraf root directory later.
|
|
|
|
pweilbacher |
08/04/2006 09:09AM
|
|
|
Status: offline
Registered: 03/07/2006
Posts: 19
|
[quote:27e2ab6eac]The iraf directory tree set by your environment variable, $iraf
is not generally readable. This will prevent most users from
being able to read iraf files, especially the binaries! Please reset the permissions on the tree and try again...[/quote:27e2ab6eac]
That means that you did not give all users on the system the possiblity to access the iraf directory tree. You need to use "chmod" to change permissions, possibly of all directories and files in the tree. Or you remove the tree, change the default permission mask with "umask", and unpack again. "chmod" could be used like this
[code:1:27e2ab6eac]find /home/iraf/ -type d -exec chmod ug+rx {} \;
find /home/iraf/ -type f -exec chmod ug+r {} \;
find /home/iraf/ -type f -name "*.e" -exec chmod ug+rx {} \;[/code:1:27e2ab6eac]Working around the problem by setting $iraf to a wrong path initially will probably not succeed.
|
|
|
|
arthit |
08/04/2006 09:09AM
|
|
|
Status: offline
Registered: 08/04/2006
Posts: 4
|
Thanks you for your kind, pweilbacher. I already install it complete.
|
|
|
|
| |
|
Content generated in: 0.11 seconds |
|