X-Spam-Check-By: sourceware.org Message-ID: <43D27A16.6D25401E@dessent.net> Date: Sat, 21 Jan 2006 10:14:46 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: curses.h References: <20060120172639 DOT GA15196 AT brasko DOT net> <20060121142951 DOT GA20108 AT brasko DOT net> <43D24CD0 DOT 5000508 AT byu DOT net> <20060121151547 DOT GD32082 AT brasko DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Bob Rossi wrote: > [bar AT bar-nt ~/cvs/cgdb/builddir/tmp] $ cat foo.c > #include > > [bar AT bar-nt ~/cvs/cgdb/builddir/tmp] $ gcc -c foo.c > foo.c:1:20: curses.h: No such file or directory The ncurses headers live in /usr/include/ncurses. Normally this means that you need to arrange for -I/usr/include/ncurses in CFLAGS, which should be done by the autoconf macros that you use to detect curses libraries. However, the libncurses-devel postinstall creates a symbolic link from /usr/include/curses.h -> ncurses/curses.h, so even if your CFLAGS is wrong the above test should work. If you don't have that symlink then your install is borked. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/