Welcome to iraf.net Thursday, March 28 2024 @ 02:41 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 login.cl
   
Arthur Babcock
 04/18/2016 05:03PM (Read 2553 times)  
+----
Newbie
okay

Status: offline


Registered: 02/10/2006
Posts: 5
I have been installing 64-bit 2.16 in 64-bit Ubuntu 14.04, and have had a few problems. I appear to have successfully installed xgterm.STATIC.

1. I'm not sure this is a problem, but I'm not sure ecl is loading login.cl. If I run mkiraf in my home directory and edit the resulting login.cl to make the default editor emacs, start ecl and then type show editor, it gives me vi. I'm aware that many defaults can be changed on the fly, so that is not a big problem. But the first thing login.cl tells IRAF is what terminal to expect, and I wonder if that has anything to do with my second problem. (BTW, this is not a path issue; if I rename login.cl and run ecl, it complains about the lack of a login.cl in the launch directory.)

2. To see if my new xgterm generates graphics properly, I ran fitparams (in the photcal package). It does not start the graphics window, but just gives me another ecl\$this->_split2($m[0]) prompt or an error message:
"Abnormal termination of child process '??' ." Nor does fitparams produce any output, so it's not a matter of failing to select the "interactive" option.

Before installing the nstatically-linked xgterm, I tried running fitparams in the xterm terminal with the same results: no graphics, no output, odd error message.

Thanks in advance for any enlightenment.

Arthur

 
Profile Email
 Quote
fitz
 04/18/2016 05:13PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

1) Be sure that when you edited the login.cl file you a) removed the leading '#' comment character and b) if you added the line yourself it was somewhere before the final 'keep' line of the file.

2) An 'abnormal termination' message means the binary didn't start for some reason. Try running the $iraf/noao/bin.linux64/x_photcal.e file directly from a terminal window since the host error message may be more informative. Also, run the 'file' command on that binary to make sure it's a 64-bit binary, if it's 32-bit the problem is likely that you need to install compatibility libs to run it. If it works correctly, you should see a "\$this->_split2($m[0])" prompt (type "bye") to quit.

 
Profile Email
 Quote
Arthur Babcock
 04/19/2016 09:20PM  
+----
Newbie
okay

Status: offline


Registered: 02/10/2006
Posts: 5
Thank you.

I was forgetting to un-comment the lines I changed (it's been 10 years since I last installed IRAF). Works fine now.

Attempting to run x_photcal.e produces the "command not found" error message. Running "file" on that binary shows it to be 32-bit. I guess I need the 32-bit compatibility libraries.

Arthur

 
Profile Email
 Quote
Arthur Babcock
 05/06/2016 12:33AM  
+----
Newbie

Status: offline


Registered: 02/10/2006
Posts: 5
I don't know if anyone is following this thread, but I thought I would post the solution I came up with.

Trying to install 32-bit libraries in 64-bit Ubuntu was a can of worms. Much of the info on the web is old, and some recommended libraries have been superseded. I tried, and enlisted the aid of a Linux (but not IRAF) expert, but nothing worked and the problem persisted.

Solution: replace 64-bit Ubuntu 14.04 with the 32-bit version, and install the 32-bit IRAF. Installation was by the numbers: all the necessary libraries are already in place. No need to install the statically-linked xgterm, and fitparams works great with glorious graphics. Maybe I can do some astronomy now.

Arthur

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