This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Problem with compilation
This is really a question for the gdb list, but I'll give it a go
anyway...
On Tue, 2004-06-22 at 14:22, Przemyslaw Sliwa wrote:
> checking for library containing tgetent... no
> configure: error: no termcap library found
> make: *** [configure-gdb] Error 1
You say you've installed a termcap library. I presume it's somewhere
where gdb can get to it? Configure certainly doesn't seem to think that
one is available.
Here's the snippet from src/gdb/configure.in which deals with termcap:
AC_SEARCH_LIBS(tgetent, [termcap tinfo ncurses Hcurses curses])
if test "$ac_cv_search_tgetent" = no; then
AC_MSG_ERROR([no termcap library found])
fi
As you can see, configure is looking for the function tgetent by linking
using "-ltermcap", "-tinfo", "-lncurses", "-lHcurses", "-lcurses". You
might try running this test manually to verify the results.
On my FC2 box, I have the packages "ncurses" and "termcap" installed. Do
you? My cvs HEAD version of gdb is linked against both of these
packages.
Keith