Welcome to iraf.net Thursday, May 02 2024 @ 07:27 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 set evironment
   
arthit
 08/04/2006 09:09AM (Read 6575 times)  
+----
Newbie

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:

 
Profile Email
 Quote
pweilbacher
 08/04/2006 09:09AM  
++---
Junior

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?

 
Profile Email
 Quote
arthit
 08/04/2006 09:09AM  
+----
Newbie

Status: offline


Registered: 08/04/2006
Posts: 4
dear pweilbacher,[img:27b91c559b]http://physics.science.cmu.ac.th/install01.jpg[/img:27b91c559b]

 
Profile Email
 Quote
arthit
 08/04/2006 09:09AM  
+----
Newbie

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.

 
Profile Email
 Quote
pweilbacher
 08/04/2006 09:09AM  
++---
Junior

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.

 
Profile Email
 Quote
arthit
 08/04/2006 09:09AM  
+----
Newbie

Status: offline


Registered: 08/04/2006
Posts: 4
Thanks you for your kind, pweilbacher. I already install it complete.

 
Profile Email
 Quote
   
Content generated in: 0.11 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