Welcome to iraf.net Friday, May 10 2024 @ 04:12 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 AS, IB, NB files not found
   
surfcast23
 06/23/2011 09:28PM (Read 4692 times)  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
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'
1:9BBCEDF371 Formatted 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$
[/code:1:9bbcedf371]



here is the attempt at install

[code:1:9bbcedf371]
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:1:9bbcedf371]
Thanks inadvance

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
Are these the correct files?as.pcix.gen.gz
ib.lnux.x86.gz
nb.lnux.x86.gz

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
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.

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
Does anyone have any ideas?

 
Profile Email
 Quote
fitz
 06/23/2011 09:28PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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 isftp://iraf.noao.edu/iraf/v215/PCIX/iraf.lnux.x86.tar.gzJust 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.

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
Thank you so much for all the help.Should I delete the old files and sub-directories before I run the install script?

 
Profile Email
 Quote
fitz
 06/23/2011 09:28PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
Thank you again. I will post up how it works out.

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
do I still run install from '/iraf/unix/hlib'

 
Profile Email
 Quote
fitz
 06/23/2011 09:28PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Yes (but be sure the iraf root path is correct, i.e. /home/iraf/unix/hlib according to your previous posts).

 
Profile Email
 Quote
surfcast23
 06/23/2011 09:28PM  
++---
Junior

Status: offline


Registered: 06/23/2011
Posts: 24
Installation Completed With No Errors Big Grin Big Grin 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.

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