[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Missing ncurses.h when compiling Kermit on Etch



I downloaded the latest Kermit tarball from this link:

http://www.columbia.edu/kermit/ftp/test/tar/x.tar.gz



Compiling fails with a missing ncurses.h message thus:

Making C-Kermit "8.0.212" for Linux 1.2 or later...
IMPORTANT: Read the comments in the linux section of the
makefile if you have trouble.
make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \
	"CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \
	-DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \
-DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H " "LNKFLAGS = " "LIBS = -lncurses -lutil -lresolv -lcrypt -lm"
make[2]: Entering directory `/usr/src/cku212'
gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuusx.c
ckuusx.c:5553:21: error: ncurses.h: No such file or directory
make[2]: *** [ckuusx.o] Error 1
make[2]: Leaving directory `/usr/src/cku212'
make[1]: *** [linuxa] Error 2
make[1]: Leaving directory `/usr/src/cku212'
make: *** [linux] Error 2



I didn't find a definitive answer by reading the makefile as suggested in the make messages, nor when searching lists.debian.org with Google.


========Keith


Reply to: