From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5875 invoked by alias); 3 Mar 2010 12:54:03 -0000 Received: (qmail 5821 invoked by uid 22791); 3 Mar 2010 12:54:02 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Mar 2010 12:53:58 +0000 Received: by wyb29 with SMTP id 29so708529wyb.0 for ; Wed, 03 Mar 2010 04:53:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.182.10 with SMTP id n10mr1541295wem.142.1267620835930; Wed, 03 Mar 2010 04:53:55 -0800 (PST) In-Reply-To: <20100303115437.GD15364@adacore.com> References: <4B8E49EC.2080501@technosis.de> <20100303115437.GD15364@adacore.com> Date: Wed, 03 Mar 2010 12:54:00 -0000 Message-ID: <2bf229d31003030453k302064caq29a75976637203ba@mail.gmail.com> Subject: Re: configure: error: no usable python found From: Chris Sutcliffe To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-03/txt/msg00010.txt.bz2 On 3 March 2010 06:54, Joel Brobecker wrote: >> checking whether to use python... /usr/lib/Python-2.6.4 >> checking for python2.6... no >> checking for python2.5... no >> checking for python2.4... no >> configure: error: no usable python found at /usr/lib/Python-2.6.4 > > I'd recommend that you check the gdb/config.log file. =A0Somewhere > close to the end, before configure dumped its entire environment, > you should see the compile check that was used to check for python2.6, > and the error that caused configure discard to 2.6 python install. I'm having a similar issue trying to build gdb for MinGW using MSYS with Python support. I have the official Python 2.6.4 windows version installed at C:\Python26, which I have mounted at /python within my MSYS shell. I configured gdb with 'configure --with-python=3D/python'. Looking at the config.log file I see: | #include "python2.6/Python.h" | int | main () | { | Py_Initialize (); | ; | return 0; | } Which is why it's failing, given that Python.h is in /python/include/. Is there a way to override where configure is looking for Python.h? Thank you, Chris --=20 Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d