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 

patch1.tar.gz and scisoft

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






PostPosted: Sat Oct 04, 2008 3:26 am    Post subject: patch1.tar.gz and scisoft Reply with quote

Hello,

I installed IRAF v2.14 from the Scisoft collection. I want to apply the v2.14.1 patch. Do I have to uninstall/reinstall IRAF? I am not a Linux expert, just a user. Please give me some suggestions.

Thanks.

Siti Embarassed
Back to top
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Sat Oct 04, 2008 1:48 pm    Post subject: Reply with quote

The patch file updates the sources only (i.e. new parameter files, help pages, etc) and should be unpacked in the $iraf root directory. To complete the upgrade you will also need to re-install the IB (core iraf) and NB (NOAO package) binary distributions in the $iraf/bin.<arch> and $iraf/noao/bin.<arch> directories respectively. In your case, '$iraf' will be the directory in the scisoft distribution tree, on most systems this may also be found as /iraf/iraf. The patch and distribution files are compressed tar files you can unpack with the command, e.g.

Code:
tar zxvf patch1.tar.gz


-Mike
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Oct 05, 2008 2:00 pm    Post subject: Reply with quote

Hi Mike,

I appreciate your reply. Out of curiosity, I did the
Code: tar zxvf patch1.tar.gz
somewhere in my home directory. Can you explain to me, apart from unpacking the tar.gz file, what this command does?

Are the directories below correct?
/scisoft/share/iraf/iraf – $iraf root directory
/scisoft/share/iraf/iraf/bin.redhat – $iraf/bin.<arch>
/scisoft/share/iraf/iraf/noao/bin.redhat – $iraf/noao/bin.<arch>

Therefore, am I supposed to “tar zxvf patch1.tar.gz” in /scisoft/share/iraf/iraf directory?
Can you explain in more detail how to “re-install the IB (core iraf) and NB (NOAO package)” in the last two directories? By the way I am using Fedora core 6 because Scisoft is built on it. Thank you for further assistance.

Siti Smile
Back to top
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Mon Oct 06, 2008 8:46 am    Post subject: Reply with quote

Quote:
I appreciate your reply. Out of curiosity, I did the
Code: tar zxvf patch1.tar.gz
somewhere in my home directory. Can you explain to me, apart from unpacking the tar.gz file, what this command does?


"Somewhere in your home directory" is not good enough, it MUST be done in the iraf root directory (in your case, /scisoft/share/iraf/iraf) because what it does is unpack the compressed iraf source tarball in whatever directory you're in. You need to do this in the iraf root so the parameter files, help files, etc are overwritten with the new version to have any effect.

Quote:

Are the directories below correct?
/scisoft/share/iraf/iraf – $iraf root directory
/scisoft/share/iraf/iraf/bin.redhat – $iraf/bin.<arch>
/scisoft/share/iraf/iraf/noao/bin.redhat – $iraf/noao/bin.<arch>


Assuming your scisoft installation has $iraf as /scisoft/share/iraf/iraf, then, yes.

Quote:

Therefore, am I supposed to “tar zxvf patch1.tar.gz” in /scisoft/share/iraf/iraf directory?


Yes

Quote:
Can you explain in more detail how to “re-install the IB (core iraf) and NB (NOAO package)” in the last two directories?


By this I mean you need to download and install the ib.rhux.x86.gz (the IB file) and nb.rhux.x86.gz file (the NB file) and unpack them with the same 'tar zxvf <file>' command in the /scisoft/share/iraf/iraf/bin.redhat and /scisoft/share/iraf/iraf/noao/bin.redhat directories respectively.

Upgrading v2.14 to v2.14.1 is a matter of applying the source patch and reinstalling the binaries, if you do a fresh install of IRAF from the latest downloads (i.e. from the archive/iraf.net site and not the current SciSoft distro) this is already at v2.14.1.

Cheers,
-Mike
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Oct 06, 2008 2:51 pm    Post subject: Reply with quote

Hi Mike,

Thanks for giving me some ideas on what to do. I refer to PC-IRAF V2.12 Installation Guide, 2002. After doing tar zxvf <file> in the three directories you mentioned, do I have to do all the stuff below?

% cd $iraf/unix/hlib # run the INSTALL script
% source irafuser.csh
% ./install -n
% su
# ./install
# exit
%
% cd
% source .login # read new .login
% rehash # pick up new iraf commands
% cl

I didn't go through all these. My default shell is bash. Thanks.

Siti Smile
Back to top
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Mon Oct 06, 2008 4:44 pm    Post subject: Reply with quote

If the system was already installed, then you don't have to do any of the things you list. This is simply an update of the files.

-Mike
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Oct 07, 2008 3:22 am    Post subject: Reply with quote

Mike, thanks for helping a non-IT specialist/would be astronomer. To all the IRAF staff, please keep this forum alive.

Siti Cool
Back to top
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.12 seconds