Posted: Thu Jun 23, 2011 9:28 pm Post subject: AS, IB, NB files not found
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'
*** 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:
*** / \
*** (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.
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.
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
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.
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