From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11813 invoked by alias); 5 Jul 2005 13:29:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11748 invoked by uid 22791); 5 Jul 2005 13:29:09 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 05 Jul 2005 13:29:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DpnU4-0004ou-72; Tue, 05 Jul 2005 09:29:08 -0400 Date: Tue, 05 Jul 2005 13:29:00 -0000 From: Daniel Jacobowitz To: Klaus Zeitler Cc: gdb@sources.redhat.com Subject: Re: CVS version doesn't compile (ncurses library found, but no includes) Message-ID: <20050705132908.GA18507@nevyn.them.org> Mail-Followup-To: Klaus Zeitler , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00029.txt.bz2 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