Re: Missing ncurses.h when compiling Kermit on Etch

2008-03-05 Thread Patrick Wiseman
On Wed, Mar 5, 2008 at 8:41 AM, Keith Christian
[EMAIL PROTECTED] wrote:
 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:

Install the ncurses-dev package.

Patrick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing ncurses.h when compiling Kermit on Etch

2008-03-05 Thread Keith Christian
- Original Message 
From: Patrick Wiseman [EMAIL PROTECTED]
To: Debian User Lists debian-user@lists.debian.org
Sent: Wednesday, March 5, 2008 7:09:59 AM
Subject: Re: Missing ncurses.h when compiling Kermit on Etch

On Wed, Mar 5, 2008 at 8:41 AM, Keith Christian
[EMAIL PROTECTED] wrote:
 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:

Install the ncurses-dev package.

Patrick



Ok Patrick, I'll do that, thanks.  Funny that apt-cache search ncurses didn't 
show ncurses-dev.

=Keith


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing ncurses.h when compiling Kermit on Etch

2008-03-05 Thread Kamaraju S Kusumanchi
Keith Christian wrote:

 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

This is your clue.

$apt-file search ncurses.h
doc-linux-ja-html:
usr/share/doc/HOWTO/ja-html/LFS-BOOK/appendixa/ncurses.html
doc-linux-ja-html:
usr/share/doc/HOWTO/ja-html/LFS-BOOK/chapter05/ncurses.html
doc-linux-ja-html:
usr/share/doc/HOWTO/ja-html/LFS-BOOK/chapter06/ncurses.html
libncurses5-dev: usr/include/ncurses.h
libncursesw5-dev: usr/include/ncursesw/ncurses.h
php-doc: usr/share/doc/php-doc/html/ref.ncurses.html

Looks like the ncurses.h header file is provided by either of
libncurses5-dev, libncursesw5-dev. Install whichever one you need.


hth
raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]