[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] inetutils-1.5: ncurses detection doesn't work
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] inetutils-1.5: ncurses detection doesn't work |
Date: |
Sat, 4 Nov 2006 02:55:20 +0100 (CET) |
It's a Linux system, although with a 2.0-derived kernel and an
older gcc (2.95.3) and glibc (2.1.3).
When you speak of the operating system that is basically the GNU
system with Linux added, would you please call it "GNU/Linux"? If you
call it just "Linux", you're giving the principal developers none of
the credit. GNU Inetutils, GCC and GLIBC is just a part of what we
developed to produce a complete free operating system.
See http://www.gnu.org/gnu/gnu-linux-faq.html for more explanation
about this.
The config.log is huge, so I've compressed it and placed it for FTP
at ftp://ftp.ocis.net/pub/users/ldeutsch/transient/config.log.gz.
(I'd send it as MIME, but it looks like there is something in the
gnu.org system that silently eats messages with MIME attachments.)
Thanks!
Looking at the configure script again, the code is looking for a
"/usr/include/ncurses" directory, which doesn't exist on my system.
The ncurses headers are just in the /usr/include directory itself:
"/usr/include/curses.h", "/usr/include/termcap.h", etc.
Could you try the patch that I attached? You will need to have
autoconf 2.59 and automake 1.9 installed to regenerate the files by
issuing the command `./autogen.sh' in the root of the source directory
for inetutils.
> Did configure detect a termcap library on your system?
No. There is no -ltermcap or -lcurses on my system. (I think
ncurses wanted to install a libcurses.so symlink, but I removed
that as clutter.)
I'll have to think about this one a bit, the whole termcap vs ncurses
vs curses thing confuses me.
--- acinclude.m4 11 Oct 2005 13:13:20 +0200 1.16
+++ acinclude.m4 04 Nov 2006 02:32:42 +0100
@@ -173,6 +173,10 @@ AC_DEFUN([IU_LIB_NCURSES], [
inetutils_cv_includedir_ncurses="$D/ncurses"
break
fi
+ if test -f $D/ncurses.h; then
+ inetutils_cv_includedir_ncurses="$D"
+ break
+ fi
test "$inetutils_cv_includedir_ncurses" \
|| inetutils_cv_includedir_ncurses=none
done)