stsdas&tables on ubuntu 64bit with iraf 2.14
M Ichwan Yuliawan wrote on Aug 29, 2009
hey, it's me again.. i hope you don't mind if i asked some question again..:)
i have already installed the iraf, stsdas, and tables on ubuntu 9.04 64bit. and it appear succesfully, because there's no error message that i get. the command is just like this:
the iraf could work well, but unfortunately, the tables&stsdas didn't appear in the iraf packages. i have to use the package. i just don't understand.
how should i do to make this package work well? :?:
i have already installed the iraf, stsdas, and tables on ubuntu 9.04 64bit. and it appear succesfully, because there's no error message that i get. the command is just like this:
sudo apt-get install tcsh
sudo apt-get install ia32-libs ia32-libs-gtk linux32
wget http://ftp.kr.debian.org/debian-archive/pool/main/l/ld.so/ldso_1.9.11-15_i386.deb
sudo dpkg --force-architecture -i ldso_1.9.11-15_i386.deb
wget ftp://ftp.guadalinex.org/ubuntu/pool/universe/libc/libc/libc5_5.4.46-15_i386.deb
sudo dpkg --force-architecture -i libc5_5.4.46-15_i386.deb
wget ftp://ftp.3logic.net/.1/debian-archive/pool/main/t/termcap-compat/termcap-compat_1.2.3_i386.deb
sudo dpkg --force-architecture -i termcap-compat_1.2.3_i386.deb
[[Use System>Administration>Users and Groups to create an account with username "iraf",
real name "IRAF Maintenance", home directory "/iraf/iraf/local", shell "/bin/tcsh",
and a secure password. For sudo commands here on, use this password.]]
sudo chown -R iraf:iraf /iraf
su iraf
mkdir /iraf/irafbin
mkdir /iraf/irafbin/bin.linux
mkdir /iraf/irafbin/noao.bin.linux
mkdir /iraf/x11iraf
mkdir /iraf/extern
cd /iraf/iraf
wget http://iraf.net/ftp/iraf/v214/PCIX/as.pcix.gen.gz
tar -zxf as.pcix.gen.gz
rm as.pcix.gen.gz
cd /iraf/iraf/unix/bin.redhat/
mv * ../bin.linux/
cd /iraf/irafbin/bin.linux
wget http://iraf.net/ftp/iraf/v214/PCIX/ib.rhux.x86.gz
tar -zxpf ib.rhux.x86.gz
rm ib.rhux.x86.gz
cd /iraf/irafbin/noao.bin.linux
wget http://iraf.net/ftp/iraf/v214/PCIX/nb.rhux.x86.gz
tar -zxpf nb.rhux.x86.gz
rm nb.rhux.x86.gz
setenv iraf /iraf/iraf/
cd $iraf/unix/hlib
source irafuser.csh
[[Choose default paths as will be shown in on-screen prompt parentheses.
Type "y" only where "yes" returns "huh?".]]
sudo ./install
sudo apt-get install libncurses5
cd /iraf/x11iraf/
wget http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.redhat.tar.gz
tar -zxf x11iraf-v2.0BETA-bin.redhat.tar.gz
mv lib.redhat lib.linux
mv bin.redhat bin.linux
sudo ./install
rm x11iraf-v2.0BETA-bin.redhat.tar.gz
wget http://hea-www.harvard.edu/saord/download/ds9/linux/ds9.linux.5.6.tar.gz
tar -zxf ds9.linux.5.6.tar.gz
rm ds9.linux.5.6.tar.gz
sudo mv ds9 /usr/local/bin/
cd /iraf/extern/
mkdir tables stsdas
cd /iraf/extern/tables/
wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/source/tables37.tar.gz
tar -zxf tables37.tar.gz
rm tables37.tar.gz
cd bin.linux/
wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/binaries/tables37.bin.redhat.tar.gz
tar -zxf tables37.bin.redhat.tar.gz
rm tables37.bin.redhat.tar.gz
cd /iraf/extern/stsdas
wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/source/stsdas37.tar.gz
tar -zxf stsdas37.tar.gz
rm stsdas37.tar.gz
cd bin.linux
wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/binaries/stsdas37.bin.redhat.tar.gz
tar -zxf stsdas37.bin.redhat.tar.gz
rm stsdas37.bin.redhat.tar.gz
cd /iraf/extern/stsdas
python python/compileall.py ./python
python python/compileall.py ./python/*
exit
cd
wget http://geco.phys.columbia.edu/~rubab/iraf/iraf
sudo chmod u=rwx iraf
mkdir ~/IRAF
cd ~/IRAF
mkirafthe iraf could work well, but unfortunately, the tables&stsdas didn't appear in the iraf packages. i have to use the package. i just don't understand.
how should i do to make this package work well? :?:
Mike Fitzpatrick wrote on Aug 29, 2009
Packages need to be declared in the $iraf/unix/hlib/extern.pkg file before they'll appear in the main menu.
M Ichwan Yuliawan wrote on Aug 29, 2009
owh... thank you very much for your help.
the stsdas&tabels package now appear on my iraf list package. :D
the stsdas&tabels package now appear on my iraf list package. :D
M Ichwan Yuliawan wrote on Aug 29, 2009
hei, it's me again..
i have a problem again. i have already installed iraf, stsdas, tables with the following step just like in the upfront. i installed them on other computer. it appear that all the step have completed. but, when i try to execute the program, the iraf can not work well.
when i type xgterm, i get this message:
when i type ds9, i get this message:
and when i type ds9, i get this message:
i don't understand. because, when i checked the cl, xgterm, ds9 file, it all there in their position. but if i try to call the program, it can't work.
what i'm suppose to do to fix this problem??
thanks before..
best regard..
i have a problem again. i have already installed iraf, stsdas, tables with the following step just like in the upfront. i installed them on other computer. it appear that all the step have completed. but, when i try to execute the program, the iraf can not work well.
when i type xgterm, i get this message:
bash: /usr/local/bin/xgterm: No such file or directorywhen i type ds9, i get this message:
bash: /usr/local/bin/ds9: No such file or directoryand when i type ds9, i get this message:
/iraf/iraf/bin.linux/ecl.e: Command not found.i don't understand. because, when i checked the cl, xgterm, ds9 file, it all there in their position. but if i try to call the program, it can't work.
what i'm suppose to do to fix this problem??
thanks before..
best regard..
Mike Fitzpatrick wrote on Aug 29, 2009
If you're sure the path to the file is e.g. /usr/local/bin/xgterm, then check to be sure the file is executable, e.g.
Where the 'x' in the permissions string means executable. If not, use the command "sudo chmod 755 /usr/local/bin/xgterm" to set the permissions. If they appear okay, you can check for missing shared libraries with e.g.
It's possible the ecl.e binary is missing a libncurses.so, if so get the statically linked version from http://iraf.net/ftp/pub/fitz/ecl.e and replace the binary in your /iraf/iraf/bin.linux directory.
iraf-nvo> ls -l /usr/local/bin/xgterm
-rwsr-xr-x 1 fitz users 1179181 Dec 10 /usr/local/bin/xgterm
Where the 'x' in the permissions string means executable. If not, use the command "sudo chmod 755 /usr/local/bin/xgterm" to set the permissions. If they appear okay, you can check for missing shared libraries with e.g.
% ldd /usr/local/bin/xgtermIt's possible the ecl.e binary is missing a libncurses.so, if so get the statically linked version from http://iraf.net/ftp/pub/fitz/ecl.e and replace the binary in your /iraf/iraf/bin.linux directory.
Last post on Aug 29, 2009