From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4606 invoked by alias); 6 Jul 2005 14:07:53 -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 4586 invoked by uid 22791); 6 Jul 2005 14:07:47 -0000 Received: from ihemail2.lucent.com (HELO ihemail2.lucent.com) (192.11.222.163) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 14:07:47 +0000 Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by ihemail2.lucent.com (8.12.11/8.12.11) with ESMTP id j66E7gRr002659 for ; Wed, 6 Jul 2005 09:07:43 -0500 (CDT) Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p1+Sun/8.11.7) with ESMTP id j66E7gO29078 for ; Wed, 6 Jul 2005 16:07:42 +0200 (MEST) Received: from sfsw51.de.lucent.com (sfsw51 [135.246.72.99]) by sfsws1.de.lucent.com (8.11.7p1+Sun/8.8.5) with ESMTP id j66E7fV14623 for ; Wed, 6 Jul 2005 16:07:41 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id j66E7fT04919; Wed, 6 Jul 2005 16:07:41 +0200 (MEST) To: gdb@sources.redhat.com Subject: Re: CVS version doesn't compile (ncurses library found, but no includes) References: <20050705132908.GA18507@nevyn.them.org> From: Klaus Zeitler X-Antipastobozoticataclysm: Bariumenemanilow Date: Wed, 06 Jul 2005 14:07:00 -0000 In-Reply-To: <20050705132908.GA18507@nevyn.them.org> (Daniel Jacobowitz's message of "Tue, 5 Jul 2005 09:29:08 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-07/txt/msg00042.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> Daniel> CFLAGS="-O2 -I/opt/exp/gnu/include". CFLAGS alone didn't help, configure still wouldn't find ncurses.h, however with CPPFLAGS="-I/opt/exp/gnu/include" configure found ncurses.h. But then I ran into compile problems (the ncurses include dir unfortunately also contained ansidecl.h, that was now found instead of the one that comes with gdb). Unfortunately setting CFLAGS as above puts the additional include dir in front of all the other include dirs. Just out of curiosity I added the additional include dir for ncurses at the end of INTERNAL_WARN_CFLAGS in gdb/Makefile.in and together with the setting of CPPFLAGS I could configure and compile gdb. I also noticed that there's already a comment in configure that it may be difficult to produce gdb with ncurses in a non-standard dir. But then again according to Mark's response I think I'll ditch ncurses and go with the standard curses. Thanks Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- The probability of someone watching you is proportional to the stupidity of your action.