From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14949 invoked by alias); 3 Mar 2010 16:54:39 -0000 Received: (qmail 14924 invoked by uid 22791); 3 Mar 2010 16:54:36 -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 16:54:33 +0000 Received: by wyb29 with SMTP id 29so834880wyb.0 for ; Wed, 03 Mar 2010 08:54:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.90.141 with SMTP id e13mr456374wef.166.1267635270499; Wed, 03 Mar 2010 08:54:30 -0800 (PST) In-Reply-To: References: <4B8E49EC.2080501@technosis.de> <20100303115437.GD15364@adacore.com> <2bf229d31003030453k302064caq29a75976637203ba@mail.gmail.com> <2bf229d31003030825k4bb08a75h582b0da7a2d72637@mail.gmail.com> Date: Wed, 03 Mar 2010 16:54:00 -0000 Message-ID: <2bf229d31003030854v7418caa8qd1cdaa2e0eef37c4@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 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/msg00016.txt.bz2 > Tom> Could you also paste the command line? > Chris> The full command line I used was: > > Sorry, I wasn't clear. > I meant the command line used to compile the test program, from config.log. configure:9438: checking whether to use python configure:9440: result: /python configure:9474: checking for python2.6 configure:9489: mingw32-gcc -o conftest.exe -g -O2 -D__USE_MINGW_ACCESS -I/python/include -Wl,--stack,8388608 conftest.c -lm -L/python/lib -lpython2.6 >&5 conftest.c:46:30: error: python2.6/Python.h: No such file or directory configure:9489: $? = 1 So the include path supplied is correct, however the library path is wrong, it should be /python/libs (not /python/lib). | #include "python2.6/Python.h" This is incorrect though, it should just be '#include "Python.h"'. Is perhaps the win32 distribution of Python significantly different in directory structure compared to the 'nix distribution directory structure? Chris -- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d