delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/21/13:14:55

X-Spam-Check-By: sourceware.org
Message-ID: <43D27A16.6D25401E@dessent.net>
Date: Sat, 21 Jan 2006 10:14:46 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: curses.h
References: <20060120172639 DOT GA15196 AT brasko DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0601201249200 DOT 9107 AT access1 DOT cims DOT nyu DOT edu> <20060121142951 DOT GA20108 AT brasko DOT net> <43D24CD0 DOT 5000508 AT byu DOT net> <20060121151547 DOT GD32082 AT brasko DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <curses.h>
> 
> [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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019