knine |
04/23/2007 03:53PM (Read 12655 times)
|
|
|
Status: offline
Registered: 11/29/2005
Posts: 14
|
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 |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 04/28/2007
Posts: 7
|
I've been trying to install IRAf fallowing Michael Hutchinson walktrhru mixed with this. I'm almost at the end when i type[code:1:0f5a7e65c2]./install -n[/code:1:0f5a7e65c2] everything is okay but when i try to run it as a root i get an error:[code:1:0f5a7e65c2]sudo ./install -n
Broken pipe
[/code:1:0f5a7e65c2]but when i accidentaly try to run it without root privileges it start to run properly.Radom
|
|
|
|
fitz |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You can run it as [code:1:541dda1193]sudo csh -x ./install -n[/code:1:541dda1193]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
|
|
|
|
Radom |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 04/28/2007
Posts: 7
|
[quote:fcc38fb232="fitz"]You can run it as [code:1:fcc38fb232]sudo csh -x ./install -n[/code:1:fcc38fb232]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[/quote:fcc38fb232]I run script without -n option. when i run [code:1:fcc38fb232]sudo csh -x ./install -n[/code:1:fcc38fb232] 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 privilagesRadom
|
|
|
|
fitz |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Just checking, but you *do* have the 'csh' installed, right?-Mike
|
|
|
|
Radom |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 04/28/2007
Posts: 7
|
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 [code:1:f2b06412ff]Configure IRAF Networking on this machine? (yes): Recommended dev$hosts file entry used for this machine: xubus : xubus!/iraf/iraf/bin.linux/irafks.eProceed 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.[/code:1:f2b06412ff]But network is enable and iraf user have rights to use it. when i type 'no' after[code:1:f2b06412ff]Configure IRAF Networking on this machine? (yes): [/code:1:f2b06412ff] script end with no errors
|
|
|
|
fitz |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
knine |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 11/29/2005
Posts: 14
|
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.[color=green:dab993b70e]sudo ./install -n[/color:dab993b70e]Once IRAF is installed, I remove sudo privileges from the IRAF user.
|
|
|
|
Radom |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 04/28/2007
Posts: 7
|
HI againI install IRAF on second simillar machine. when I run
[code:1:532cfd31ab]cat /iraf/iraf/irafinst/as.* | zcat | tar -xpf -
[/code:1:532cfd31ab]I have not bin.linux file in root directory I have only
[code:1:532cfd31ab]bin 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 tags[/code:1:532cfd31ab]Is it wrong?
|
|
|
|
fitz |
04/23/2007 03:53PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|