CVS version doesn't compile (ncurses library found, but no includes)
Daniel Jacobowitz
drow@false.org
Tue Jul 5 13:29:00 GMT 2005
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
More information about the Gdb
mailing list