Welcome to iraf.net Friday, May 10 2024 @ 01:23 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 iraf 2.14 on Ubuntu 7.10 64, fully installed, not working
   
sebastian
 03/05/2008 02:14AM (Read 13868 times)  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
Hi recently installed iraf 2.14 on ubuntu 7.10 64,
first, it said on trial installation on a csh terminal strictly following instuctions,(root dir owned by 502, iraf files owned by 502)
*** The iraf tree should be owned by the iraf user so it can
*** be updated and maintained properly.
***
*** To fix this, login as root, set the iraf environment, and
*** issue the commands:
***
*** cd /iraf
*** chown -R iraf . # change dir owner
*** cd $hbin # go to HSI bin dir
*** chown 0 alloc.e # fix alloc.e ownership
*** chmod 4755 alloc.e # fix permissionsfixed, later installed :=========================
Congratulations! IRAF has been successfully installed on this system.
===============================================
To begin using the system simply log in as any user and from the
directory you wish to use as your iraf login directory type: % mkiraf # create a login.cl file
% cl # start IRAFThe 'iraf' user is already configured with a login.cl file so a simple
'cl' command is sufficient to start the system.Additional information can be found at the IRAF.NET web site: https://iraf.netPlease contact https://iraf.net with any questions or problems.================ Installation Completed With No Errors=======
but it doesen't work, cl appears to be not installed, mkiraf, appears as an unknown comand.
I have xterm but not xgterm, this should not be a problem at this point.
I need this fixed, please!
thank you in advance to all.
sebastian

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
If you type 'cl' and get a 'Command not found' message then you may just need to change your path to pick up the 'local bin directory' (typically /usr/local/bin), or if that is already in your path then issue a 'rehash' command to pick up the newly installed commands.You should be able to start it manually by giving the full path, e.g. "/usr/local/bin/cl" or "/usr/local/bin/mkiraf".-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
hi,
first, thanks a lot for such a fast answer.
second, I just tryed what you suggested,
cl in not installed in your system, it replies after I wrote cl
I used the reash command also.
I also set correctly the root path, I can't acces internet from linux since the wirelless card doens't work yet, so I boot in windows every time.
thanks again!
sebastian

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Did you run the "install" command WITHOUT the '-n' flag after you ran it WITH the '-n' flag the first time? The '-n' is a no-op run so you'll see what will happen, but doesn't actually install anything.Otherwise, where was the 'local bin directory' you specified? Is there a 'cl' command link there?-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
hi, yes I was aware of that, after the .install -n it prompts to perform the installation(I thougth it was the real thing that time). I typed yes.
Now it seems quite clear that something is missing, the /usr/local/bin/ doesn't have any link there.
I will perform the ./install this time and see.
thanks again

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
now it's working!
thank you.
I don't have any display for iraf, I was looking to get one,
I was trying to install the x11, to get the xgterm on ubuntu also, then I followed the README from the source of the x11, the thing is that at the make World step, at the end it showed 2 errors, and I can't confirm that, at the end, it was working or not, do you know if it is possible to delete the
steps done like performing some sort of uninstall?
sorry about my loosy coments, I will use ds9 for the beginning
best wishes

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
For now, use DS9 as the image display (see ftp://sao-ftp.harvard.edu/pub/rd/ds9). For XGterm, you can use the RedHat binary in https://iraf.net/ftp/iraf/x11iraf/x11iraf-v1.5DEV-bin.redhat.tar.gz (unpack and the xgterm will be in the 'bin.redhat' directory, just move it to /usr/local/bin).Cheers,
-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
I'm having problems to install by hand iraf on ubuntu jaunty.
Last time, I installed iraf on ubuntu hardy without problems, even tables and stsdas packages.
This time it's quite strange.
I'm following the instructions, the install script gives everywhere the "ok" signal,
I perfomed the installation (without the -n flag Smile )
root folder /iraf/iraf
image default directory /home/sebastian/IMH
bin folder /usr/local/binI issued the mkiraf, login.cl and uparm folder created.
Then, when calling ecl, I get
/iraf/iraf/bin.linux/ecl.e: Command not found.so with ls /iraf/iraf/bin.linux/[b:ed7770d7f3]cl.e [/b:ed7770d7f3] libcur.a libimfort.a libsgi.a x_dataio.e x_proto.e
[b:ed7770d7f3]ecl.e [/b:ed7770d7f3] libcurfit.a libiminterp.a libslalib.a x_images.e x_sgikern.e
IB.LNUX.X86 libdeboor.a libinterp.a libstg.a x_imdkern.e x_softools.e
ib.lnux.x86.gz libds.a libllsq.a libsurfit.a x_lists.e x_stdgraph.e
irafks.e libex.a libmain.o libsys.a x_mkttydata.e x_system.e
IRAF.NET libgks.a libmemdbg.a libvops.a x_ncar.e x_tv.e
libbev.a libgsurfit.a libncar.a libxtools.a x_obsolete.e x_utilities.e
libc.a libimd.a libnlfit.a OBJS.arc.Z x_plot.ealso, at /usr/local/bin/
[b:ed7770d7f3]cl ecl [/b:ed7770d7f3] mkiraf mkpkg rmfiles rtar wtar [b:ed7770d7f3]xgterm[/b:ed7770d7f3] xyacc
ds9.linux generic mkmlist rmbin rpp sgidispatch xc xppWhen writing ecl or xgterm for example, "tab" completes the command but then the "command not found" message is issuedAny suggestions?
Best regards
Seba

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
First verify that the binaries in the /iraf/iraf/bin.linux directory all have the execute permissions set. Next try starting as "cl -old", this will invoke the old /iraf/iraf/bin.linux/cl.e I suspect this will work and that the problem is that the ecl.e is missing a dynamic library dependency, i.e. the libtermcap.so.2 You can confirm this by running "ldd" at the unix prompt on the binary. If indeed libtermcap is missing then you need to either install the 'ncurses' package on ubuntu or else get a statically linked ecl.e binary fromhttps://iraf.net/ftp/pub/fitz/ecl.eDownload in binary mode, reset execute permissions and install in /iraf/iraf/bin.linux.-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
Hi, actually the cl -old didn't work, I received the same message, not such file or directory.
Regarding the ncurses, It was already installed.
Now, I have downloaded your binary file, It runs only from within /iraf/iraf/bin.linux/ then, when called from the folder with the login.cl and uparm directory it complainssetting terminal type to xterm...
ERROR: Abnormal termination of child process '??'
called as: `prcache (directory)'
called as: `cl ()'
called as: `cl ()'
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.
I've moved the ecl.e also to the /usr/local/binThe funy thing is that also xgterm doesn't work either.
With my previous ubuntu distro it worked flawlessly.
Another things, when trying to install x11, at the install prompt
binary folder (/usr/local/bin) it complains it doesn't find a bin.linux folder and aborts.I have to admit that I will start looking for a installer CD.
Thanks again
seba

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I think you're seeing a known bug in the CL startup script. To fix it you can download https://iraf.net/ftp/pub/cl.csh and copy it to the $iraf/unix/hlib directory, this should be fixed in the latest v2.14.1 source code so I'm not quite sure *why* you're seeing it (assuming the above fixes it).-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
Hi, I copied the new cl.csh file and I'm receiving the following message:ERROR: Abnormal termination of child process 'bin$x_system.e'
called as: `cl ()'
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.seba

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
An 'abnormal termination' message means the binary couldn't start for some reason, e.g. it is the wrong binary or is missing a shared library. Could you please post the output of the following commands:[code:1:6daed19871]
% cd /iraf/iraf/bin.linux
% ls -l x_system.e
% ldd x_system.e
% ./x_system.e
[/code:1:6daed19871]The last command should give you a ">" prompt meaning it started correctly (type 'bye' to quit). Otherwise, any error messages from the commands may better explain what's happening.-MikeP.S. I just noticed this is a 64-bit system, did you by chance install the 32-bit compatability "stuff"???

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
[quote:bbab10977b]
cd /iraf/iraf/bin.linux
sebastian@lethargica:/iraf/iraf/bin.linux$ ls -l x_system.e
-rwxr-xr-x 1 iraf users 505084 2008-01-14 19:24 x_system.esebastian@lethargica:/iraf/iraf/bin.linux$ ldd x_system.e
not a dynamic executablesebastian@lethargica:/iraf/iraf/bin.linux$ ./x_system.e
bash: ./x_system.e: No such file or directory
[/quote:bbab10977b]Not a dynamic executable!
I didn't install the "stuff" :shock:

 
Profile Email
 Quote
fitz
 03/05/2008 02:14AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The file date indicates this is a v2.14 release, it's possible that updating to v2.14.1 would fix it. However, the system still doesn't see your binary as executable for some reason, what is the output of[code:1:eec16a0048]% file /iraf/iraf/bin.linux/x_system.e[/code:1:eec16a0048]If the answer is just 'data' then the system doesn't know what the file is. If you do upgrade to v2.14.1, be sure to not only install new binaries but the source patch as well (so you get new parameter files).-Mike

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
[quote:55be163f9d]
/iraf/iraf/bin.linux/x_system.e: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped
[/quote:55be163f9d]I might install a newer version

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
I've installed ia32-libs, after that ubuntu crashed (this is quite common I should say Frown )
Now it seems to work, ecl and xgterm also.
I don't know if I should stay with this version or install again
the latest iraf.
Thanks fitz for your support!
seba

 
Profile Email
 Quote
sebastian
 03/05/2008 02:14AM  
+++--
Chatty

Status: offline


Registered: 03/20/2007
Posts: 45
Finally.
I have downloaded the 2.14.1 version, and it took me just 2 min to install iraf.
The obscure thing involved: ia32-lib was installed previously.
That was the missing part.
So, following the instructions, having ia32-lib and ncurses library it should work.
Ds9 and xgterm precompiled binaries from red hat.
Now I'm installig tables and stsdas.
Again, thank you fitz.
best wishesseba

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