From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7009 invoked by alias); 4 Mar 2010 02:23:36 -0000 Received: (qmail 7000 invoked by uid 22791); 4 Mar 2010 02:23:35 -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-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 02:23:30 +0000 Received: by wwg30 with SMTP id 30so567735wwg.0 for ; Wed, 03 Mar 2010 18:23:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.91.82 with SMTP id g60mr259116wef.98.1267669408081; Wed, 03 Mar 2010 18:23:28 -0800 (PST) In-Reply-To: References: <4B8E49EC.2080501@technosis.de> <20100303115437.GD15364@adacore.com> <2bf229d31003030453k302064caq29a75976637203ba@mail.gmail.com> <2bf229d31003030825k4bb08a75h582b0da7a2d72637@mail.gmail.com> <2bf229d31003030854v7418caa8qd1cdaa2e0eef37c4@mail.gmail.com> Date: Thu, 04 Mar 2010 02:23:00 -0000 Message-ID: <2bf229d31003031823t2825f09fu62340b70c22bdcba@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/msg00023.txt.bz2 > I don't know; I have never looked at it. =A0If you could come up with a > configure patch that works for Windows, without breaking Linux, that > would be helpful. =A0I can test it on Linux for you, if that would help. I've hacked the configure script to allow for Python support under Windows, but the source itself is also going to need some fixing up. I'm working on making the configure script play a little nicer for both Linux and Windows, but I'm a little stumped on how to make somethings conditional. The code check itself is fairly straight forward: #include "${version}/Python.h" becomes: #ifdef WIN32 #include "Python.h" #else #include "${version}/Python.h" #endif what I'm unclear on is how to make (line 9470): version=3Dpython2.6 conditional on Windows to be: version=3Dpython26 and similarly (line 9456): python_libs=3D"-L${with_python}/lib" to conditionally be: python_libs=3D"-L${with_python}/libs" on Windows. Any pointers here would be greatly appreciated. Thank you, Chris --=20 Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d