Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IRAF on UBUNTU (URGENT)

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
ross58



Joined: 23 Jun 2006
Posts: 2

PostPosted: Sun Jun 25, 2006 6:39 pm    Post subject: IRAF on UBUNTU (URGENT) Reply with quote

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

Thank you
Ross58
Back to top
View user's profile Send private message
emiliano
Active IRAF User


Joined: 05 Dec 2005
Posts: 38
Location: Pisa - Italy

PostPosted: Mon Jun 26, 2006 1:37 pm    Post subject: Reply with quote

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 Shocked

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 ?
Back to top
View user's profile Send private message
rubab



Joined: 18 Jun 2007
Posts: 17

PostPosted: Tue Jun 19, 2007 3:31 pm    Post subject: IRAF installation on Ubuntu Steps Reply with quote

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.

http://geco.phys.columbia.edu/~rubab/iraf/
Back to top
View user's profile Send private message
Santiago
Active IRAF User


Joined: 16 Aug 2008
Posts: 23
Location: Montevideo - Uruguay

PostPosted: Sat Sep 13, 2008 5:05 am    Post subject: i tried that Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Gregorio



Joined: 30 Dec 2006
Posts: 5
Location: Portugal

PostPosted: Sat Sep 13, 2008 11:44 am    Post subject: Reply with quote

Hi Barbara and all,

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.

Joao
Back to top
View user's profile Send private message Visit poster's website
Santiago
Active IRAF User


Joined: 16 Aug 2008
Posts: 23
Location: Montevideo - Uruguay

PostPosted: Mon Sep 15, 2008 7:01 pm    Post subject: still doesn't work Reply with quote

I downloaded the CD iso and noticed that it is only for 32 bit machines... so, it can't install the libraries in the first place.

My system is Ubuntu Hardy Heron (8.04 LTS) for the AMD64 bit architecture processor....

If anyone made IRAF work on a machine like this... please let me know how...

Best Regards,

Santiago.-
Back to top
View user's profile Send private message Visit poster's website
Gregorio



Joined: 30 Dec 2006
Posts: 5
Location: Portugal

PostPosted: Mon Sep 15, 2008 7:51 pm    Post subject: Reply with quote

Santiago,

This link http://mjhutchinson.com/journal/2006/11/05/install_iraf_on_ubuntu_edgy_amd64
Shows how this guy did it on Edgy, perhaps you can see how its done and give it a try.

Make sure you read all before you try...read also the comments posted at the end of the article.

Good luck

Joao Gregorio
www.atalaia.org/gregorio
Back to top
View user's profile Send private message Visit poster's website
favilac



Joined: 16 Dec 2005
Posts: 8
Location: Hermosillo

PostPosted: Tue Sep 16, 2008 7:12 pm    Post subject: Installer 64 Reply with quote

Hi, I'm the author of the cd installer.

I have an updated script installer here:
http://cosmos.astro.uson.mx/~favilac/downloads/ubuntu-iraf/files/install-ubuntu64.sh

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.
Back to top
View user's profile Send private message Visit poster's website
favilac



Joined: 16 Dec 2005
Posts: 8
Location: Hermosillo

PostPosted: Tue Sep 16, 2008 7:24 pm    Post subject: Reply with quote

Ok, I've noticed a small problem in the scripts, which are now corrected.

The install scripts for debian and ubuntu, for 32 and 64 bits are here:

An updated iso with all the installers will be up tomorrow night.
Back to top
View user's profile Send private message Visit poster's website
Gregorio



Joined: 30 Dec 2006
Posts: 5
Location: Portugal

PostPosted: Wed Sep 17, 2008 6:36 pm    Post subject: Reply with quote

Hi Fernando,

Thanks for your trouble. It's great to have such an installer.

Joao Gregorio
Back to top
View user's profile Send private message Visit poster's website
lpetras



Joined: 12 Aug 2006
Posts: 16

PostPosted: Sun Oct 12, 2008 2:04 am    Post subject: Re: Installer 64 Reply with quote

favilac wrote:
Hi, I'm the author of the cd installer.

I have an updated script installer here:
http://cosmos.astro.uson.mx/~favilac/downloads/ubuntu-iraf/files/install-ubuntu64.sh

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 Sad Any idea why I am seeing this errors ?

Linas
Back to top
View user's profile Send private message
lpetras



Joined: 12 Aug 2006
Posts: 16

PostPosted: Sun Oct 12, 2008 2:07 am    Post subject: Reply with quote

oops forgot the details:

running install-ubuntu64.sh on Ubuntu8.04-x64. No errors up too the point were it starts to compile for PyRaf..

Linas
Back to top
View user's profile Send private message
Jason Quinn
IRAF Guru


Joined: 07 Apr 2006
Posts: 151

PostPosted: Mon Oct 13, 2008 2:41 pm    Post subject: Re: Installer 64 Reply with quote

lpetras wrote:
favilac wrote:
Hi, I'm the author of the cd installer.

I have an updated script installer here:
http://cosmos.astro.uson.mx/~favilac/downloads/ubuntu-iraf/files/install-ubuntu64.sh

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 Sad 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.

Jason
Back to top
View user's profile Send private message
favilac



Joined: 16 Dec 2005
Posts: 8
Location: Hermosillo

PostPosted: Tue Oct 14, 2008 6:29 pm    Post subject: IRAF 64 bit install Reply with quote

lpetras>

You need to install libc6-dev-amd64 .

Because I install early on build-essential I overlooked that I need to specify it in the DEPS field of the installer.

I'll have the updated files tonight. For the moment, installing this package should do it.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds