|
From: | Pierre |
Subject: | Re: Problem installing ncurses 5.4 |
Date: | Mon, 29 Nov 2004 01:27:52 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
Thomas Dickey wrote:
On Fri, Nov 26, 2004 at 08:09:45AM +0100, Pierre wrote:Thomas Dickey wrote:On Wed, 24 Nov 2004, Pierre wrote:[...] installing ../lib/libncurses.la as /usr/lib/libncurses.lacd ../lib; /usr/local/bin/libtool --mode=install /usr/local/bin/install -c libncurses.la /usr/lib /usr/local/bin/install -c .libs/libncurses.so.5.0.4 /usr/lib/libncurses.so.5.0.4 (cd /usr/lib && rm -f libncurses.so.5 && ln -s libncurses.so.5.0.4 libncurses.so.5) (cd /usr/lib && rm -f libncurses.so && ln -s libncurses.so.5.0.4 libncurses.so) /usr/local/bin/sed: relocation error: /usr/lib/libncurses.so.5:It occurs to me that installing a libtool'd ncurses on top of a non-libtool'd ncurses is not simple. (The configure script and makefiles only know about installing onto a similar system). For instance, on this system, it would try to add these entries to /usr/lib: libncurses.a libncurses.la libncurses.so -> libncurses.so.5.0.4libncurses.so.5 -> libncurses.so.5.0.4But I already have libncurses.a libncurses.so -> /lib/libncurses.so.5 libncurses.so.5 -> libncurses.so and in /lib libncurses.so.5 -> libncurses.so.5.4 libncurses.so.5.4 Technically that's in the realm of libtool, and as you see, it doesn't manage it either. I do fixups manually, from my directory editor, but noting that various programs such as your shell are dependent upon ncurses, it's a little tricky to do. (Why does sed use ncurses?)
Here is what I have now : # locate libncurses. /usr/lib/libncurses.so.5.0.4 /usr/lib/libncurses.so.5.0.3 /usr/lib/libncurses.a /usr/lib/libncurses.so.5 /usr/lib/libncurses.so /usr/lib/libncurses.la # ls -la /usr/lib/libncurses.* -rw-r--r-- 1 root root 432938 Nov 13 2002 /usr/lib/libncurses.a -rw-r--r-- 1 root root 721 Nov 13 2002 /usr/lib/libncurses.lalrwxrwxrwx 1 root root 19 Nov 24 08:07 /usr/lib/libncurses.so -> libncurses.so.5.0.4 lrwxrwxrwx 1 root root 19 Nov 24 08:07 /usr/lib/libncurses.so.5 -> libncurses.so.5.0.4
-rw-r--r-- 1 root root 292404 Nov 13 2002 /usr/lib/libncurses.so.5.0.3 -rwxr-xr-x 1 root root 143881 Nov 24 08:07 /usr/lib/libncurses.so.5.0.4
undefined symbol: TABSIZE /usr/local/bin/install -c .libs/i /usr/lib/ /usr/local/bin/install: cannot stat `.libs/i': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/tmp/ncurses-5.4/ncurses' make: *** [install] Error 2hmm - other than seeing that it's attempting to use libtool, I can't tell much about it. (The ".libs/i" is definitely an error, but whether libtool or some other cause, I cannot say). Perhaps seeing the config.status and config.log would help.Ok I'm attaching them to this email.I still don't see a cause for the ".libs/i".
Me neither... but maybe do you have an idea for the TABSIZE symbol ? Regards, -- Pierre.
[Prev in Thread] | Current Thread | [Next in Thread] |