This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: CVS version doesn't compile (ncurses library found, but no includes)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Klaus Zeitler <kzeitler at lucent dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 5 Jul 2005 09:29:08 -0400
- Subject: Re: CVS version doesn't compile (ncurses library found, but no includes)
- References: <q5gr7ed4cae.fsf@lucent.com>
On Tue, Jul 05, 2005 at 03:23:21PM +0200, Klaus Zeitler wrote:
> Hi,
> I've had problems building the gdb CVS version. We've ncurses installed, but
> not in a standard directory, i.e. in /opt/exp/gnu/lib and /opt/exp/gnu/include.
> When I add /opt/exp/gnu/lib to LD_LIBRARY_PATH, configure finds the ncurses
> library, but the configure check for ncurses.h fails. I tried adding
> --includedir=/opt/exp/gnu/include to configure, but that didn't help.
> How should I specify this additional include dir for the configure call?
CFLAGS="-O2 -I/opt/exp/gnu/include". --includedir is not supposed to
be searched in autoconf-using programs; it's an install directory only.
--
Daniel Jacobowitz
CodeSourcery, LLC