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 

AS, IB, NB files not found

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Thu Jun 23, 2011 9:28 pm    Post subject: AS, IB, NB files not found Reply with quote

I just tried to install on Ubuntu and got errors that AS, IB, and NB were not found. I checked the directories where they should be, but I am not sure what I am looking for.
As an example It says that IB should be in '/bin.linux'. There is a file named IB.RHUX.X86, but it is empty. Where can I download the files if they are indeed missing?
Here are the contents of '/iraf/irafbin/bin.linux'

Code:

student@ubuntu:/home/iraf/irafbin/bin.linux$ ls
cl.e         libds.a        libmemdbg.a  OBJS.arc.Z     x_sgikern.e
ecl.e        libex.a        libncar.a    x_dataio.e     x_softools.e
IB.RHUX.X86  libgks.a       libnlfit.a   x_images.e     x_stdgraph.e
irafks.e     libgsurfit.a   libsgi.a     x_imdkern.e    x_system.e
IRAF.NET     libimd.a       libslalib.a  x_lists.e      x_tv.e
libbev.a     libimfort.a    libstg.a     x_mkttydata.e  x_utilities.e
libc.a       libiminterp.a  libsurfit.a  x_ncar.e
libcur.a     libinterp.a    libsys.a     x_obsolete.e
libcurfit.a  libllsq.a      libvops.a    x_plot.e
libdeboor.a  libmain.o      libxtools.a  x_proto.e
student@ubuntu:/home/iraf/irafbin/bin.linux$




here is the attempt at install

Code:

New iraf root directory (/home/iraf): ?   

   ***  The iraf root directory is the place where the AS distribution
   ***  file was unpacked; it contains subdirectories such as 'dev',
   ***  'local', 'noao', 'pkg', and the file IS.PORT.GEN.
   *** 
   ***  The default path '/home/iraf' appears to be correct ...

New iraf root directory (/home/iraf): 
Default root image storage directory (/home/iraf/imdirs):
Local unix commands directory (/usr/local/bin): ?

   ***  The local bin directory is the system directory into which the
   ***  iraf commands (e.g. cl, mkiraf, mkpkg, etc) will be installed
   ***  as symlinks to files in the iraf tree. This should be a common
   ***  dir such as /usr/local/bin which will likely be found in every
   ***  user's path.

Local unix commands directory (/usr/local/bin):

========================================================================
=====================  Verifying System Settings  ======================
========================================================================

Hostname      = ubuntu                OS version    = Linux 2.6.32-32-generic
Architecture  = linux                 HSI arch      = linux               
New iraf root = /home/iraf            Old iraf root = /iraf/iraf         
New imdir     = /home/iraf/imdirs     Old imdir     = /iraf/imdirs       
Local bin dir = /usr/local/bin     


Checking definition of iraf root directory ...         [  OK  ]
Checking iraf root and imdir directory ...         [  OK  ]
Checking iraf directory write permissions ...         [  OK  ]
Checking for iraf user account ...            [  OK  ]
    Checking iraf user login directory ...         [ FAIL ]

   ***  The iraf user login directory appears to be incorrect.
   ***  For the given iraf root this path should be '/home/iraf/local',
   ***  please edit the /etc/passwd file to change this.

    Checking iraf user account shell ...         [  OK  ]
Checking file ownerships ...               [  OK  ]
Checking file permissions ...               [  OK  ]
Checking proper iraf tree structure in /home ...
    Checking for 'iraf' subdir ...            [  OK  ]
    Checking for 'irafbin' subdir ...            
   Checking for fallback tree structure ...      [ FAIL ]
    Checking for 'irafbin/bin.linux' subdir ...         [ FAIL ]
    Checking for 'irafbin/noao.bin.linux' subdir ...      [ FAIL ]

   ***  An error was detected in the structure of the iraf tree.
   ***  Your directory tree should look something like:
   *** 
   ***                         /home/iraf/../
   ***                           /  \
   ***               (AS) /iraf  /irafbin
   ***                                /  \
   ***                 (IB) bin.linux  noao.bin.linux (NB)
   *** 
   ***  The AS, IB, and NB distribution files are shown where they
   ***  should be unpacked.  Please verify the structure and the
   ***  system architecture.

Checking Core system binary directory ...         [ FAIL ]

   ***  The core system binary directory, /home/iraf/..//irafbin/bin.linux, 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, /home/iraf/..//irafbin/noao.bin.linux, does
   ***  not appear to contain the proper files.  The NB distribution
   ***  files should be unpacked in this directory.

Checking that local bin directory exists ...         [  OK  ]


[/code]

Thanks inadvance
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Thu Jun 23, 2011 9:52 pm    Post subject: Reply with quote

Are these the correct files?

as.pcix.gen.gz
ib.lnux.x86.gz
nb.lnux.x86.gz
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Thu Jun 23, 2011 10:38 pm    Post subject: Reply with quote

I downloaded and unpacked the above files, but I am still getting the fails from my first message. I also rechecked the subdirectories listed are in the iraf root directory, but I still get fail as well.
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Fri Jun 24, 2011 3:27 pm    Post subject: Reply with quote

Does anyone have any ideas?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Fri Jun 24, 2011 4:36 pm    Post subject: Reply with quote

The three file you list are correct for a v2.14 system, but note that the recommended release is not v2.15.1a which comes in a single tarfile (see the main story on the front page of this site). This would avoid all of the directory structure problems you're having.

Specifically, the file you need for 32-bit Ubuntu is

ftp://iraf.noao.edu/iraf/v215/PCIX/iraf.lnux.x86.tar.gz

Just unpack in the /home/iraf directory and run the install script. See the README for adding external packages with a simple 'make' command.

If there's some reason you must have v2.14, then you'll need to create a /home/iraf/iraf directory for the as.pcix.gen.gz file (this is then your "iraf root"), and a /home/iraf/irafbin directory for the binaries (containing a 'bin.linux' for the ib.lnux.x86.gz and an 'noao.bin.linux' for the nb.lnux.x86.gz file). If you still have questions, post again but I'd suggest the v215 version mentioned above.
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Fri Jun 24, 2011 5:09 pm    Post subject: Reply with quote

Thank you so much for all the help.

Should I delete the old files and sub-directories before I run the install script?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Fri Jun 24, 2011 5:11 pm    Post subject: Reply with quote

Yeah, if you're going with the v2.15 single-file install then it would be best to remove what is already in /home/iraf
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Fri Jun 24, 2011 5:13 pm    Post subject: Reply with quote

Thank you again. I will post up how it works out.
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Fri Jun 24, 2011 5:30 pm    Post subject: Reply with quote

do I still run install from '/iraf/unix/hlib'
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Fri Jun 24, 2011 5:31 pm    Post subject: Reply with quote

Yes (but be sure the iraf root path is correct, i.e. /home/iraf/unix/hlib according to your previous posts).
Back to top
View user's profile Send private message
surfcast23
Active IRAF User


Joined: 23 Jun 2011
Posts: 24

PostPosted: Fri Jun 24, 2011 5:38 pm    Post subject: Reply with quote

Installation Completed With No Errors Very Happy Very Happy

thank you again for all the help! I should have done the single file download and installation in the first place instead of the site I linked in my other post.
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.14 seconds