AS, IB, NB files not found
Khary Richardson wrote on Jun 23, 2011
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'
here is the attempt at install
Thanks inadvance
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'
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
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
Khary Richardson wrote on Jun 23, 2011
Are these the correct files?
as.pcix.gen.gz
ib.lnux.x86.gz
nb.lnux.x86.gz
as.pcix.gen.gz
ib.lnux.x86.gz
nb.lnux.x86.gz
Khary Richardson wrote on Jun 23, 2011
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.
Khary Richardson wrote on Jun 23, 2011
Does anyone have any ideas?
Mike Fitzpatrick wrote on Jun 23, 2011
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.
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.
Khary Richardson wrote on Jun 23, 2011
Thank you so much for all the help.
Should I delete the old files and sub-directories before I run the install script?
Should I delete the old files and sub-directories before I run the install script?
Mike Fitzpatrick wrote on Jun 23, 2011
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
Khary Richardson wrote on Jun 23, 2011
Thank you again. I will post up how it works out.
Khary Richardson wrote on Jun 23, 2011
do I still run install from '/iraf/unix/hlib'
Mike Fitzpatrick wrote on Jun 23, 2011
Yes (but be sure the iraf root path is correct, i.e. /home/iraf/unix/hlib according to your previous posts).
Khary Richardson wrote on Jun 23, 2011
Installation Completed With No Errors :D :D
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.
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.
Last post on Jun 23, 2011