Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Iraf 2.15 Linux 32bit install

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
morrisonss



Joined: 18 Sep 2009
Posts: 9

PostPosted: Mon Jan 23, 2012 11:47 pm    Post subject: Iraf 2.15 Linux 32bit install Reply with quote

When I tried to install Iraf V2.15 Linux 32bit using the download from the http://iraf.noao.edu website the install script wanted the bin.linux to be bin.redhat, and the noao/bin.linux to be /noao/bin.redhat I went in to the files that were unpacked from the download and changed these to match what it wanted and was able to install it, but then when I tried to open iraf it tried to find the ecl file in the bin.linux file, so I changed it back, and it now appears to be working, but I wanted to know if you think doing this will cause any other issues down the road. I also wanted to let you all know so that the install script could be corrected.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Tue Jan 24, 2012 12:41 am    Post subject: Reply with quote

What distribution of linux? Specifically, what file did you download and install? Can you elaborate on "wanted bin.linux to be bin.redhat", was there a specific error message? Do you define a IRAFARCH environment variable from previous install that might be forcing the use of 'redhat'?

Otherwise, v2.15 will use either bin.linux or bin.redhat binaries interchangeably if needed. There may be issues with compiling local tasks/packages, but that would depend on the package and the answers to the above.
Back to top
View user's profile Send private message
morrisonss



Joined: 18 Sep 2009
Posts: 9

PostPosted: Tue Jan 24, 2012 2:15 pm    Post subject: Reply with quote

I am using Fedora 14 32bit. I downloaded the IRAF V2.15 Release for Linux 32-bit (66MB) file from the site http://iraf.noao.edu homepage. As far as I could determine I don't have an IRAFARCH environment variable defined, though I did have a previous version of iraf that I removed. I got the errors shown below, but was able to get around them by changing the directory names from .linux to .redhat, though I had to change them back after install for the login.cl to find ecl.

Checking Core system binary directory ... [ FAIL ]

*** The core system binary directory, /iraf/iraf/bin.redhat, does
*** not appear to contain the proper binaries. The IB distribution
*** files should be unpacked in this directory.

Checking NOAO package binary directory ... [ FAIL ]

*** The NOAO package binary directory, /iraf/iraf/noao/bin.redhat, does
*** not appear to contain the proper files. The NB distribution
*** files should be unpacked in this directory.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Fri Feb 03, 2012 6:31 am    Post subject: Reply with quote

I think the problem is in how the iraf.lnux.x86.tar.gz file was built, i.e. it includes only the 'bin.linux' directories and not the 'bin.redhat' symlinks that point to bin.linux. The install script determines the platform architecture by looking for a /etc/redhat-release file (Fedora is a derivative of redhat), however the 'cl' command script uses the more generic output of 'uname' and so comes up with linux as the architecture. If the symlinks were present (as in the combined iraf-linux.tar.gz files) then this difference doesn't matter.

I'll fix the distribution for the next release, until then you can just do

ln -s bin.linux bin.redhat

in the $iraf and $iraf/noao directories.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds