[ale] What am I missing?

Preston Boyington preston.lists at gmail.com
Mon Nov 13 09:52:32 EST 2006


Christopher Fowler wrote:
> Would you know what this package would be?
> 
> checking for termcap functions library... configure: error: No
> curses/termcap library found
> 
> 

may not be exactly what you are looking for:

(from the debian pages)

http://packages.debian.org/stable/oldlibs/termcap-compat

Package: termcap-compat
Compatibility package for old termcap-based programs.

The termcap-compat package provides the libtermcap.so.2 and /etc/termcap
files which are required to run non-Debian, binary-only termcap-based
programs. Since libc6-based programs are hopefully "modern" enough to be
linked with ncurses (or slang), this package only provides a libc5-based
libtermcap library.

The termcap-compat package isn't meant to be used to compile programs
therefore it doesn't provide all the necessary files for compilation. If
you want to compile a program that claims to need termcap, why not try
ncurses's termcap emulation instead? It's as simple as linking with
ncurses instead of libtermcap (i.e. replace the '-ltermcap' with
'-lncurses' in the makefile). Ncurses' termcap emulation routines
translate terminfo entries to termcap entries on the fly, so you don't
even need an /etc/termcap file.



More information about the Ale mailing list