Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Freebsd configure misses <curses.h> and <term.h>



Clint Adams wrote:

For some time now I have been trying to compile CVS zsh on a freebsd machine. It fails on Src/Modules/terminfo.c

I have a similar problem on FreeBSD 4.8.  What's happening in my case is
that configure finds libtinfo (which, along with libtermcap and
libcurses, is just a symlink to libncurses), thus the
case "$LIBS" in *curses*) fails.

--with-curses-terminfo doesn't help because tinfo is still preferred.
Yes that is it -- /usr/lib/libtinfo* links to libncurses*. I see in other threads that #defining ERR has been proposed for other reasons. I guess that will fix it, but still leave the implicit declaration warnings. Seems it would be better to fix configure, assuming this libtinfo link thing is something reasonably "standard".




Messages sorted by: Reverse Date, Date, Thread, Author