Welcome to iraf.net Thursday, May 02 2024 @ 11:42 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 stsdas&tables on ubuntu 64bit with iraf 2.14
   
rocker_milan
 08/29/2009 05:45PM (Read 4801 times)  
++---
Junior

Status: offline


Registered: 08/15/2009
Posts: 15
hey, it's me again.. i hope you don't mind if i asked some question again..Smile
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:
[code:1:932e2f42d3]sudo apt-get install tcshsudo apt-get install ia32-libs ia32-libs-gtk linux32wget http://ftp.kr.debian.org/debian-archive/pool/main/l/ld.so/ldso_1.9.11-15_i386.debsudo dpkg --force-architecture -i ldso_1.9.11-15_i386.debwget ftp://ftp.guadalinex.org/ubuntu/pool/universe/libc/libc/libc5_5.4.46-15_i386.debsudo dpkg --force-architecture -i libc5_5.4.46-15_i386.debwget ftp://ftp.3logic.net/.1/debian-archive/pool/main/t/termcap-compat/termcap-compat_1.2.3_i386.debsudo 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 /irafsu irafmkdir /iraf/irafbinmkdir /iraf/irafbin/bin.linuxmkdir /iraf/irafbin/noao.bin.linuxmkdir /iraf/x11irafmkdir /iraf/externcd /iraf/irafwget http://iraf.net/ftp/iraf/v214/PCIX/as.pcix.gen.gztar -zxf as.pcix.gen.gzrm as.pcix.gen.gzcd /iraf/iraf/unix/bin.redhat/mv * ../bin.linux/cd /iraf/irafbin/bin.linuxwget http://iraf.net/ftp/iraf/v214/PCIX/ib.rhux.x86.gztar -zxpf ib.rhux.x86.gzrm ib.rhux.x86.gzcd /iraf/irafbin/noao.bin.linuxwget http://iraf.net/ftp/iraf/v214/PCIX/nb.rhux.x86.gztar -zxpf nb.rhux.x86.gzrm nb.rhux.x86.gzsetenv iraf /iraf/iraf/cd $iraf/unix/hlibsource irafuser.csh[[Choose default paths as will be shown in on-screen prompt parentheses.Type "y" only where "yes" returns "huh?".]]sudo ./installsudo apt-get install libncurses5cd /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.linuxmv bin.redhat bin.linuxsudo ./installrm x11iraf-v2.0BETA-bin.redhat.tar.gzwget http://hea-www.harvard.edu/saord/download/ds9/linux/ds9.linux.5.6.tar.gz tar -zxf ds9.linux.5.6.tar.gzrm ds9.linux.5.6.tar.gzsudo mv ds9 /usr/local/bin/cd /iraf/extern/mkdir tables stsdascd /iraf/extern/tables/wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/source/tables37.tar.gztar -zxf tables37.tar.gzrm tables37.tar.gzcd bin.linux/wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/binaries/tables37.bin.redhat.tar.gztar -zxf tables37.bin.redhat.tar.gzrm tables37.bin.redhat.tar.gzcd /iraf/extern/stsdaswget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/source/stsdas37.tar.gztar -zxf stsdas37.tar.gzrm stsdas37.tar.gzcd bin.linuxwget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/binaries/stsdas37.bin.redhat.tar.gztar -zxf stsdas37.bin.redhat.tar.gzrm stsdas37.bin.redhat.tar.gzcd /iraf/extern/stsdaspython python/compileall.py ./pythonpython python/compileall.py ./python/*exitcdwget http://geco.phys.columbia.edu/~rubab/iraf/irafsudo chmod u=rwx irafmkdir ~/IRAFcd ~/IRAFmkiraf[/code:1:932e2f42d3] 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? Confused:

 
Profile Email
 Quote
fitz
 08/29/2009 05:45PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Packages need to be declared in the $iraf/unix/hlib/extern.pkg file before they'll appear in the main menu.

 
Profile Email
 Quote
rocker_milan
 08/29/2009 05:45PM  
++---
Junior

Status: offline


Registered: 08/15/2009
Posts: 15
owh... thank you very much for your help.
the stsdas&tabels package now appear on my iraf list package. Big Grin

 
Profile Email
 Quote
rocker_milan
 08/29/2009 05:45PM  
++---
Junior

Status: offline


Registered: 08/15/2009
Posts: 15
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:
[code:1:cd331e2765]bash: /usr/local/bin/xgterm: No such file or directory[/code:1:cd331e2765]
when i type ds9, i get this message:
[code:1:cd331e2765]bash: /usr/local/bin/ds9: No such file or directory[/code:1:cd331e2765]
and when i type ds9, i get this message:
[code:1:cd331e2765]/iraf/iraf/bin.linux/ecl.e: Command not found.[/code:1:cd331e2765]
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..

 
Profile Email
 Quote
fitz
 08/29/2009 05:45PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.[code:1:4a377393a9]
iraf-nvo> ls -l /usr/local/bin/xgterm
-rwsr-xr-x 1 fitz users 1179181 Dec 10 /usr/local/bin/xgterm
[/code:1:4a377393a9]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.[code:1:4a377393a9]% ldd /usr/local/bin/xgterm[/code:1:4a377393a9]It's possible the ecl.e binary is missing a libncurses.so, if so get the statically linked version from https://iraf.net/ftp/pub/fitz/ecl.e and replace the binary in your /iraf/iraf/bin.linux directory.

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