According to
http://www.debian.org/doc/FAQ/ch-compat.en.html:
-----------begin quote-----------
4.8 Why can't I compile programs that require libtermcap?
Debian uses the terminfo database and the ncurses library of terminal
interface routes, rather than the termcap database and the termcap
library. Users who are compiling programs that require some knowledge
of the terminal interface should replace references to libtermcap with
references to libncurses.
To support binaries that have already been linked with the termcap
library, and for which you do not have the source, Debian provides a
package called termcap-compat. This provides both libtermcap.so.2 and /
etc/termcap. Install this package if the program fails to run with the
error message "can't load library 'libtermcap.so.2'", or complains
about a missing /etc/termcap file.
-----------end quote-----------
However, current official Debian Etch repositories don't seem to
contain the termcap-compat package. Searching unofficial repositories
via
http://www.apt-get.org/ didn't produce any results for termcap-
compat either. :(
-Alain.