Installation of IRAF on Ubuntu 7.04
Jacob Albretsen wrote on Apr 23, 2007
Just an FYI to Ubuntu users about there, I was able to get IRAF 2.13 Beta2 installed on Ubuntu 7.04 Feisty Fawn using Michael Hutchinson's instructions for Edgy, as well as TABLES and STSDAS. Pretty much the same gotchas. You have to download libncurses4 from the Feisty repo and download libtermcap (and dependencies) from the Breezy archives.
Radom wrote on Apr 23, 2007
I've been trying to install IRAf fallowing Michael Hutchinson walktrhru mixed with this. I'm almost at the end when i type
Radom
./install -n everything is okay but when i try to run it as a root i get an error:sudo ./install -n
Broken pipe
but when i accidentaly try to run it without root privileges it start to run properly.Radom
Mike Fitzpatrick wrote on Apr 23, 2007
You can run it as
To trace the script and see which command is failing, most likely there is a command either you don't have installed or isn't in root's path. Note you need to complete the install by running WITHOUT the '-n' flag.
-Mike
sudo csh -x ./install -nTo trace the script and see which command is failing, most likely there is a command either you don't have installed or isn't in root's path. Note you need to complete the install by running WITHOUT the '-n' flag.
-Mike
Radom wrote on Apr 23, 2007
fitzI run script without -n option. when i run
You can run it as
sudo csh -x ./install -n
To trace the script and see which command is failing, most likely there is a command either you don't have installed or isn't in root's path. Note you need to complete the install by running WITHOUT the '-n' flag.
-Mike
sudo csh -x ./install -n i get this same error with no other messages.I'm thinking about giving iraf group admin privileges for installation time and then back those privilages
Radom
Mike Fitzpatrick wrote on Apr 23, 2007
Just checking, but you *do* have the 'csh' installed, right?
-Mike
-Mike
Radom wrote on Apr 23, 2007
Yes first i have only tcsh but after those problems i have istalled also csh and still no efect. When i run with -n option only fails are with network configuration
Configure IRAF Networking on this machine? (yes):
Recommended dev$hosts file entry used for this machine:
xubus : xubus!/iraf/iraf/bin.linux/irafks.e
Proceed with this entry? (yes):
Creating backup of default dev$hosts file...
Initializing dev$hosts file ...
# HOSTS -- IRAF local network host table.
# Logical nodes (lpnode = line printeroutput, plnode = plotter output).
#lpnode : @ursa
#plnode : @ursa
# Host table.
xubus : xubus!/iraf/iraf/bin.linux/irafks.e
Host 'xubus' has been added to the network configuration file...
Checking that iraf networking is properly enabled ... os.zgtenv: cannot open `/usr/include/iraf.h'
[ FAIL ]
*** The NETSTATUS task claims that networking is disabled.
*** Please contact site support (iraf@noao.edu) with questions
*** or check the Site Manager's Guide for details on how to
*** properly configure networking.
But network is enable and iraf user have rights to use it. when i type 'no' afterConfigure IRAF Networking on this machine? (yes): script end with no errors
Mike Fitzpatrick wrote on Apr 23, 2007
That's normal: With the '-n' flag the system isn't actually installed and so the /usr/include/iraf.h link isn't available and the irafks.e binary will fail. To complete the installation you'll need to run the install script without the '-n'.
-Mike
-Mike
Jacob Albretsen wrote on Apr 23, 2007
When you created the IRAF user, did you change the default shell to csh? What I've done in the past is create the iraf user with the csh set as the default shell and sudo privileges. Then I can run the install script as the IRAF user using sudo and also not have to use "csh" in the command.
sudo ./install -n
Once IRAF is installed, I remove sudo privileges from the IRAF user.
sudo ./install -n
Once IRAF is installed, I remove sudo privileges from the IRAF user.
Radom wrote on Apr 23, 2007
HI again
I install IRAF on second simillar machine. when I run
I install IRAF on second simillar machine. when I run
cat /iraf/iraf/irafinst/as.* | zcat | tar -xpf -
I have not bin.linux file in root directory I have onlybin bin.linux bin.redhat HS.PCIX.GEN lib noao unix
bin.cygwin bin.linuxppc bin.sunos local pkg
bin.freebsd bin.macintel dev IRAF.NET math sys
bin.generic bin.macosx doc IS.PORT.GEN mkpkg tagsIs it wrong?
Mike Fitzpatrick wrote on Apr 23, 2007
That is correct. The 'bin.linux' is a symlink that points to "../irafbin/bin.linux' and will be resolved when you unpack the IB distribution file in the proper place (i.e. /iraf/irafbin/bin.linux in most systems). Similarly the noao$bin.linux is a link as well that is resolved when you unpack the NB distribution.
Cheers,
-Mike
Cheers,
-Mike
Last post on Apr 23, 2007