View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

xgterm installation problem on caos linux system

Nao Suzuki wrote on May 08, 2006

Hello there,

I'm having trouble with installing xgterm on our system, caos linux.
(I know I know, it is our system manager's choice, not mine)

If I try binary xgterm for linux, bin.linux, I'm getting the familiar error.

xgterm: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

And I did the following symbolic link which works for RedHat. (It worked
on my laptop machine which has RedHat)

# cd /usr/lib
# ln -s libncurses.so.5 libncurses.so.4

But for caos linux, this trick does not work. Do you have any suggestion?
I do need to use xgterm...javascript:emoticon(':cry:')

Of course, I tried to compile from the source but I'm getting 50 lines of errors.
Please advise if there is a way to fix this.

Thank you very much in advance.

--Nao

Mike Fitzpatrick wrote on May 08, 2006

In this case the message means it isn't finding the v5 library: If caos has v6 then you can try the same trick of linking libncurses.so.6 to libncurses.so.5, however I suspect it is just a matter than libncurses isn't installed at all. If you or your sysadmin can install this or verify it is missing (look for an 'ncurses' or 'termcap-compat' package) you should be able to get it working (use 'ldd' to check for other dependencies). Otherwise, see the X11IRAF source in

http://iraf.net/ftp/pub/fitz/x11iraf-new_gcc.tgz

and try compiling that instead. A new source distro of X11IRAF with various platform changes is on the way but not ETA. Post again if you still have problems.

Cheers,
-Mike

Nao Suzuki wrote on May 08, 2006

Hello Mike,

Your new x11iraf-new_gcc worked!!!javascript:emoticon(':D')

Thank you very much for your prompt response. I have libncurses.so.5,
in fact ver5.4 and linked to -.so.5. But it didn't work. To make it sure I
reinstalled the latest, libncurses, readline, termcap, but it didn't help.
I have a redhat system on my laptop and it worked but on my desktop
with caos linux platform, I could not make it work.

However, your new X11iraf-new_gcc worked!!! and now I can use
xgterm. Although I was getting the following error message,
for now, it leave it. (this appears at the very end of make World)

Thank you very very much!!

--Nao

#Error message I got on caos plat form when I tried to 'make World"
#x11iraf-new_gcc.tgz
>installing in ximtool/clients...
>make[3]: Entering directory `/fontina/local/iraf/x11iraf/ximtool/clients'
>/bin/sh: ./mkpkg: Permission denied
>make[3]: *** [ism_wcspix.e] Error 1

#<= If I change the permision (make the mkpkg executable), I will have
another series of errors. But for now, I'll leave it.

Mike Fitzpatrick wrote on May 08, 2006

I was about to post when your reply came in. CAOS looked like and odd little system so I configured a virtual machine with it and found as you did that the new source compiled (once you got all the yacc/flex/bison/x11 stuff installed). In any case, I put a version of the xgterm I got at

http://iraf.net/ftp/pub/fitz/xgterm.caos

I mention it here because this is linked statically wrt libncurses and might be useful elsewhere.


>installing in ximtool/clients...
>make[3]: Entering directory `/fontina/local/iraf/x11iraf/ximtool/clients'
>/bin/sh: ./mkpkg: Permission denied
>make[3]: *** [ism_wcspix.e] Error 1


This may just mean the 'mkpkg' command either isn't installed, or more likely isn't in your default path. The system is trying to execute the mkpkg file directly instead of the command (ISM_WCSPIX is a plug-in task that provides the real-time wcs/pixel display for ximtool). You can ignore this for now, else change the $PATH in your .cshrc/.bashrc file.

Cheers,
-Mike

Last post on May 08, 2006