This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS version doesn't compile (ncurses library found, but no includes)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]