Posted: Sun Jun 25, 2006 6:39 pm Post subject: IRAF on UBUNTU (URGENT)
After a whole day spent in front of my lap I have to ask for help again.
I’m trying to install scisoft on ubuntu.
I have followed the instruction supplied by the install file.
Everything seems to work at first sight but there are problems now and then.
I have substituted the IB and NB dir with the files ib.lnux.x86.gz and
nb.lnux.x86.gz as suggested.
The first probems arise when I write
. /scisoft/bin/Setup.bash
in fact I get
barbara@ubuntu:/scisoft/bin$ . /scisoft/bin/Setup.bash
bash: [: missing `]'
bash: i686: command not found
and when I write :
cd $iraf/unix/hlib
and then:
./install -n
I get:
The AS, IB, and NB distribution files are shown where they
*** should be unpacked. Please verify the structure and the
*** system architecture.
What shall I do?
Besides, some instruction say that I should also substitute the utilities of extern/Iraf.
I have found where to get them but I would like to receive some step by step notes if it’s possible
Joined: 05 Dec 2005 Posts: 38 Location: Pisa - Italy
Posted: Mon Jun 26, 2006 1:37 pm Post subject:
Hello Ross,
the Setup.bash is not part of the iraf system, but comes from the scisoft installation, and is used by each user to set the right environment variables needed by scisoft applications (and then, by iraf).
Quote:
barbara@ubuntu:/scisoft/bin$ . /scisoft/bin/Setup.bash
bash: [: missing `]'
bash: i686: command not found
this could be a syntax error in a "test operator" like:
if [ -e some_file ]
then ...
else ...
fi
or other kind of tests (that is, something different inside square brackets).
I remember there were some bugs in the scisoft scripts (at least in the OSX version...).
Could you please please post your setup.bash script, or at least the section that causes the error?
For the next problem:
Quote:
The AS, IB, and NB distribution files are shown where they
*** should be unpacked. Please verify the structure and the
*** system architecture.
my guess is that, since the Setup.bash failed and did not set right value for IRAFARCH for example, the installation script could not figure out the right kind of system... maybe you can try with:
Code:
./install -m linux
to force the installer to use lnux binaries, but I'm not sure
You should also try to contact Scisoft support or helpdesk, since, I guess, your problems are due to the failing Setup.bash script...
Cheers,
Emiliano.
P.S. could you please post the output of command "set" (i.e. your environment variables) after the error in Setup.bash ?
Posted: Tue Jun 19, 2007 3:31 pm Post subject: IRAF installation on Ubuntu Steps
This page describes how to setup IRAF on a Ubuntu/Debian machine. Apart from the exact commands, there are some instructions in square brackets that need to be followed. Installation of X11IRAF, DS9, Tables, and STSDAS are included.
Joined: 16 Aug 2008 Posts: 23 Location: Montevideo - Uruguay
Posted: Sat Sep 13, 2008 5:05 am Post subject: i tried that
i tried that but there is no libncurses4 library to install, i enabled all repos, including backports... there is one lib that is libncurses5... but i don't know if it is correct to install this instead.
And when installing ia32-libs ia32-libs-gtk linux32, it says that:
Package ia32-libs-gtk is a virtual package provided by:
ia32-libs 2.2ubuntu11
but 2.2ubuntu11 lib is not found on the repos... again don't know if there is something missing here...
hey thanks for the reply!
Best regards,
Santiago Roland.-
Los Molinos Observatory
IAU code 844
Montevideo, Uruguay
I've done several successful installations of Iraf under Ubuntu.
In one of those installs I followed the instructions of Rubab and in the my last Iraf 2.14 /Ubuntu 8.06LTS I used a cd install. You can burn the ISO into a CD or like I did, installed Gmount-iso and then run the ISO file calling it from the Gmount-iso program.
This ISO I found in a webpage from Fernando Avila, a Spanish fellow,
http://cosmos.astro.uson.mx/~favilac/linastro.html and here is the link to download the iso.
http://www.astro.uson.mx/%7Efavilac/downloads/ubuntu-iraf/iso/IRAF_Ubuntu.iso.
It also install :
DS9
Pyraf
STSDAS
TABLES
etc...
I hope this tip helps a lot of unexperienced user like me to get their ubuntu / iraf to work.
Or, you can edit the install script you already have to add the dependencies "ia32-libs ia32-libs-gtk linux32", in the DEPS line of the install.sh file.
Or, you can edit the install script you already have to add the dependencies "ia32-libs ia32-libs-gtk linux32", in the DEPS line of the install.sh file.
Let me know if it works for you.
Tried the iso and was able to install IRAF system OK but get following error when it is trying to install PyRaf
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include/limits.h not found
Of course I can find the file Any idea why I am seeing this errors ?
Or, you can edit the install script you already have to add the dependencies "ia32-libs ia32-libs-gtk linux32", in the DEPS line of the install.sh file.
Let me know if it works for you.
Tried the iso and was able to install IRAF system OK but get following error when it is trying to install PyRaf
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include/limits.h not found
Of course I can find the file Any idea why I am seeing this errors ?
Linas
Scisoft needs Fedora because it requires Fedora libraries. I have tried to get it running on Ubuntu unsuccessfully. Scisoft is just a collection of software. Just install the software you need when you need it.
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