From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18256 invoked by alias); 28 Feb 2008 18:29:05 -0000 Received: (qmail 18242 invoked by uid 22791); 28 Feb 2008 18:29:04 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Feb 2008 18:28:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 747BB2AA01E for ; Thu, 28 Feb 2008 13:28:45 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1izljNR1H55r for ; Thu, 28 Feb 2008 13:28:45 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3A40D2AA003 for ; Thu, 28 Feb 2008 13:28:45 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 154F5E7ACB; Thu, 28 Feb 2008 10:28:43 -0800 (PST) Date: Thu, 28 Feb 2008 18:36:00 -0000 From: Joel Brobecker To: gdb@sourceware.org Subject: Re: is --with-libexpat-prefix broken? Message-ID: <20080228182843.GF19729@adacore.com> References: <20080227234911.GC19729@adacore.com> <20080228171244.GA2501@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080228171244.GA2501@caradoc.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00250.txt.bz2 > This is a horribly overcomplicated macro, originally from (IIRC) > gettext. Thank you for making me feel better, misery loves company :). > I recommend running the configure script with sh -x to see what > it's doing. I was actually in the process of analyzing the output yesterday when I had to scoot out. Will continue today. > The only thing I noticed in the above was that there was no -I option, > but the test file obviously compiled. Could you have switched > compilers and/or added an expat installation in /usr/local/include > and /usr/local/lib? GCC is ornery about searching /usr/local/include > but not /usr/local/lib in some configurations. Duh - You're right. I had switch from the slow AIX to a faster sparc-solaris machine, but indeed, libexpat is installed in /usr/local. It's still interesting to know that with the same compiler on the same machine, 6.7.1 builds fine, whereas HEAD doesn't. And the cause is double: No -I, and it doesn't try the archive, it requires the shared library... Back on AIX (sigh), the program doesn't compile, and configure gives up immediately. So I can start again from there. Hopefully more info on this soon. -- Joel