Welcome to iraf.net Monday, May 20 2024 @ 08:09 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Iraf on FC6, "cl" non running for os_match problem
   
johnluke
 02/22/2007 10:36AM (Read 4383 times)  
+----
Newbie

Status: offline


Registered: 02/19/2007
Posts: 4
Hello Surprised!
I installed Iraf on FC6, it look like all has gone well. But when I call "cl" from the terminal in ther "Iraf User" i have this warnig: " os_mach undefined variable" Confused What's wrong in your opinion Confused:
John

 
Profile Email Website
 Quote
jcl
 02/22/2007 10:36AM  
+----
Newbie

Status: offline


Registered: 08/24/2006
Posts: 7
I had this same problem with Fedora Core 6. What I did that fixed it was to edit the cl.csh file (in /iraf/iraf/unix/hlib/).In that file under the section where it determines your architucture you need to add the line set os_mach = linux (see below). There may be another way, but this worked for me.Jessica# Determine platform architecture.
if ($?IRAFARCH) then
if (-e $iraf/bin.${IRAFARCH}/${cl_binary}) then
set MACH = $IRAFARCH
endif
endifif (! $?MACH) then
if (-f /etc/redhat-release) then
if (`uname -m` == "ppc") then
setenv mach linuxppc
else
setenv mach redhat
set os_mach = linux #### ADD THIS LINE
endif

 
Profile Email
 Quote
johnluke
 02/22/2007 10:36AM  
+----
Newbie

Status: offline


Registered: 02/19/2007
Posts: 4
yes Surprised! It is work fine now. Thanks for your answer,
you did great!
Cheers,
John

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