Welcome to iraf.net Friday, March 29 2024 @ 05:35 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Walkthrough for Ubuntu Edgy AMD64/i386
   
Anonymous:
 11/05/2006 07:01PM (Read 21155 times)  



I've made a walkthrough for installing IRAF on Ubuntu Edgy AMD64 in a 32-bit chroot. It should work fine on i386 too.

 
 Quote
Jason Quinn
 11/05/2006 07:01PM  
+++++
Active Member

Status: offline


Registered: 04/07/2006
Posts: 175
I installed IRAf on Edgy last week. But on a Dell Inspiron 9400 with Intel Core Duo. Did it very much the same except I used the generic linux binaries. Have you installed STSDAS/TABLES yet? At the moment the STSDAS ftp server is down so I can't install anything but they only have binaries for Redhat. I was planning on trying to compile STSDAS/TABLES but after looking at your webpage, I noticed that you installed the Redhat binaries and things are working. Now I'm wondering how much of a difference there is to the distro specific binaries.Jason

 
Profile Email
 Quote
Anonymous:
 11/05/2006 07:01PM  



Well, I wanted 2.13b2, which comes with the ECL, and there are only Red Hat binaries for that. There shouldn't be anything fundamentally different between the Red Hat and 'generic' Linux binaries as long as you have the right dependencies.I have no need for STSDAS/TABLES just yet, so I haven't bothered installing them.

 
 Quote
MikalH
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 11/08/2006
Posts: 5
Just re-establishing ownership of this thread - for some reason my account totally vanished from the site!

 
Profile Email
 Quote
MikalH
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 11/08/2006
Posts: 5
I've updated the original walkthrough to include a proper installation of X11IRAF, and written a new walkthrough for installing binaries for TABLES, STSDAS and PyRAF on Ubuntu Edgy. Once again I'm running the x86 binaries on amd64 in a 32-bit chroot, and have encountered no major problems yet.

 
Profile Email
 Quote
livia
 11/05/2006 07:01PM  
++---
Junior

Status: offline


Registered: 11/16/2006
Posts: 16
Hello,I'm having a problem with tables. I received an error message :ERROR on line 477: Cannot open connected subprocess (ttools$x_ttools.e) I'm using Ubuntu (Edgy). Might it be some installing problem? Maybe the binaries.
I appreciate any help.

 
Profile Email
 Quote
MikalH
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 11/08/2006
Posts: 5
Did you follow my exact instructions? What command caused that error? ttools seems to work for me.

 
Profile Email
 Quote
fitz
 11/05/2006 07:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
This was resolved in another thread (see https://iraf.net/phpBB2/viewtopic.php?t=85806&postdays=0&postorder=asc&start=15), but I just noticed your guides mention to put the binaries in a 'bin.redhat' directory. In general the system determines the architecture from the existence of a /etc/redhat-release file when it isn't defined in the user environment explicitly. My guess is that you defined IRAFARCH (and perhaps $arch, $hbin, etc) for redhat on your system, but the other user was using the default environment? In any case, Ubuntu is Debian-based and so 'linux' is the proper architecture name, however you should be able to install redhat binaries in a bin.linux and have them work.-Mike

 
Profile Email
 Quote
MikalH
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 11/08/2006
Posts: 5
Without having any IRAF installation experience, I wanted everything to be internally consistent with the architecture that the binaries were expecting, just in case it affected something. I just used "-m redhat" for the IRAF install script and patched the X11IRAF install script to add a similar option. Ecl.csh sets IRAFARCH and MACH by detecting the name of the folder in which binaries are present. I should probably set it in the environment to be sure.At any rate, it all seems to work fine. At some point I'll probably update the walkthrough for STSDAS and TABLES 3.6, at which point I may as well just use the generic 'linux' architecture with the RH binaries.By the way, (when) will you be unifying the redhat and linux architectures?[b:5880aa2737]UPDATE[/b:5880aa2737]: The walkthroughs have been updated. They now use the "linux" architecture, STSDAS/TABLES 3.6, stsci_python 2.4, and don't require a chroot on amd64.

 
Profile Email
 Quote
fitz
 11/05/2006 07:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:9d77494c57]By the way, (when) will you be unifying the redhat and linux architectures?[/quote:9d77494c57]This is still part of the plan for the final V2.13 release, finding time to do it is the holdup at the moment. Packages like stsdas/tables will also likely still release with a 'redhat' arch so that needs to be addressed as well (probably with the network installer also being planned).-Mike[/quote]

 
Profile Email
 Quote
rubab
 11/05/2006 07:01PM  
++---
Junior

Status: offline


Registered: 06/18/2007
Posts: 17
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/

 
Profile Email
 Quote
Lead Expression
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 10/11/2007
Posts: 3
Well, I have Ubuntu 7.04 installed on my amd64 laptop, I think may be the same...
The problem is that the links you use as argument for wget give me error 404 (not found). Maybe they were moved?

 
Profile Email
 Quote
rubab
 11/05/2006 07:01PM  
++---
Junior

Status: offline


Registered: 06/18/2007
Posts: 17
The link to ds9 had become obsolete, it has been updated. Please let me know if you find any other broken links.Also, since you are using AMD64, be sure to use the instructions for 64-bit installation.

 
Profile Email
 Quote
Lead Expression
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 10/11/2007
Posts: 3
Well, thank you
I've a question, 'cause I'm not an expert... I've a problem in 64-bit procedure. When I run [code:1:c56020cccb]source irafuser.csh[/code:1:c56020cccb]I've no output or prompt and when I run [code:1:c56020cccb]sudo ./install[/code:1:c56020cccb]I've a broken pipe error. Can you help me? I really don't know what does this mean... Thanks for the patience

 
Profile Email
 Quote
rubab
 11/05/2006 07:01PM  
++---
Junior

Status: offline


Registered: 06/18/2007
Posts: 17
You are not supposed to get a prompt after typing the "source" command, so that's okay.I have come to know at least two reasons for the broken pipe errors, but they are not very reproducible on my side I am afraid. Anyway, try - 1. Make sure that you are typing in the default paths as suggested by the on screen prompts after ./install . In most cases, people try to come up with their own set of paths that's might not be compatible or type back the prompts incorrectly.2. The more serious problem is that apparently some machines don't adopt to Ubuntu as well as they do to Debian, specially if you are running 64-bit machines and are using the force architecture handle to install stuffs. Try it on Debian if you can.

 
Profile Email
 Quote
Lead Expression
 11/05/2006 07:01PM  
+----
Newbie

Status: offline


Registered: 10/11/2007
Posts: 3
Excuse me, but I think I haven't understood...I read:
[code:1:f3e2432412]
source irafuser.csh[[Choose default paths as will be shown in on-screen prompt parentheses.
Type "y" only where "yes" returns "huh?".]]sudo ./install[/code:1:f3e2432412]Well, after source command, I've no output or prompt. I don't understand the meaning of phrase in parentheses: where I've to type "y"? Where I've to choose default paths?Your suggest suppose ./install command goes? This gave to me broken pipe...I'm sorry if they are stupid questions, but I don't know what to do... Oops!

 
Profile Email
 Quote
rubab
 11/05/2006 07:01PM  
++---
Junior

Status: offline


Registered: 06/18/2007
Posts: 17
Yes, the square brackets instruction is applicable after ./install . I intentionally put it ahead because it is a vital instruction. If you are indeed following all the 64-bit instruction steps and are still getting broken pipe, then the only suggestion I have left, as mentioned before is trying it on Debian instead.Sorry for not being able to be of more help.

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