Hello,
I just installed the 2.13beta2 Red Hat linux (rhux) binaries on my PIII laptop running Debian Sarge (3.1) and it works great!
Many thanks to Mike and the other iraf developers.Here the installation instructions.
With respect to a normal iraf installation you need a few caveats:(1) first of all, install the "termcap-compat" package. From root:[code:1:b216f919c9]
# apt-get install termcap-compat
[/code:1:b216f919c9](2) when unpacking ib and nb binary packages, make sure to unpack them in /iraf/irafbin/bin.redhat and /iraf/irafbin/noao.bin.redhat, as if you were installing on a Red Hat system:[code:1:b216f919c9]
iraf% mkdir /iraf/irafbin/bin.redhat
iraf% cd /iraf/irafbin/bin.redhat
iraf% tar xfvz /path/to/ib.rhux.x86.gziraf% mkdir /iraf/irafbin/noao.bin.redhat
iraf% cd /iraf/irafbin/noao.bin.redhat
iraf% tar xfvz /path/to/nb.rhux.x86.gz
[/code:1:b216f919c9](3) edit and run the install script.
We are using Red Hat binaries, but install script will guess (from uname) a generic Linux system, and this will cause errors in the installation (i.e. the install will not find binaries in the bin.linux directories, because they are in bin.redhat directories).
The "-m redhat" option will tell install script to act as it was a Red Hat installation, but this will cause a "foreach: No match" error when checking file permissions. This is caused by a wrong value of $hmach variable: it should be "redhat" but is "linux".
So edit the following section of install script which process command line options:[code:1:b216f919c9]
case -m: # set machine type
if ("$2" != "") then
shift
else
ERRMSG "missing argument to '-m <mach>' switch"
exit 1
endif
set mach = "$1"
breaksw
[/code:1:b216f919c9]and change to:[code:1:b216f919c9]
case -m: # set machine type
if ("$2" != "") then
shift
else
ERRMSG "missing argument to '-m <mach>' switch"
exit 1
endif
set mach = "$1"
set hmach = "$1" # add this line to prevent foreach error
breaksw
[/code:1:b216f919c9]then you can run the install script and proceed with the normal iraf installation. Emiliano.