This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Problem with compilation
On Tue, 2004-06-22 at 14:54, Przemyslaw Sliwa wrote:
> Hi,
>
> thanks for reply. What do you mean link by hand??
$ echo foo.c
char initscr ();
int main () {
initscr ();
return 0;
}
$ gcc foo.c -lncurses
Then also try "-lHcurses", "-lcurses", "-lpdcurses", etc. On your system
I would expect "-lncurses" to work.
Do the same thing except substitute "tgetent" for "initscr" and try
linking against "-ltermcap".
> the confug.log looks like:
[snip]
> cannot find -lncurses
[snip]
> cannot find -lHcurses
[snip]
> cannot find -lcurses
[snip]
> cannot find -lpdcurses
[snip]
> cannot find -ltermcap
[snip]
> cannot find -ltinfo
[snip]
> cannot find -lncurses
[snip]
> cannot find -lHcurses
[snip]
> cannot find -lcurses
Certainly looks like configure cannot find termcap or ncurses. Do
/usr/lib/libtermcap.* and /usr/lib/libncurses.* exist? Where did you
install these packages? If you put them into /usr/local/lib or some
other place, make sure that this directory is in LD_LIBRARY_PATH so that
the linker can find them.
Keith