From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13604 invoked by alias); 27 Jul 2010 16:10:45 -0000 Received: (qmail 13590 invoked by uid 22791); 27 Jul 2010 16:10:43 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Jul 2010 16:10:38 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6RGADww032192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 27 Jul 2010 12:10:13 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6RGACmJ017328; Tue, 27 Jul 2010 12:10:13 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o6RGABAP001140; Tue, 27 Jul 2010 12:10:12 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8F2BA3792BB; Tue, 27 Jul 2010 10:10:11 -0600 (MDT) From: Tom Tromey To: Michael Snyder Cc: Mike Frysinger , "gdb-patches\@sourceware.org" Subject: Re: FYI: update for Python 2.7 References: <4C4DFDDD.1010203@vmware.com> <201007261738.26882.vapier@gentoo.org> <4C4E07F7.4030409@vmware.com> Date: Tue, 27 Jul 2010 16:10:00 -0000 In-Reply-To: <4C4E07F7.4030409@vmware.com> (Michael Snyder's message of "Mon, 26 Jul 2010 15:11:03 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00428.txt.bz2 >>>>> "Michael" == Michael Snyder writes: Michael> Sorry, --with-python=/build/toolchain/lin32/python-2.6 Michael> Which is of course a local install location. Try --with-python=/build/toolchain/lin32/python-2.6/bin/python. I don't think my 2.7 patch changed this, it was an earlier change. >From gdb/configure.ac: dnl There are several different values for --with-python: [...] dnl /path/to/python/exec-prefix - dnl Use the python located in this directory. dnl If /path/to/python/exec-prefix/bin/python exists, use it to find dnl the compilation parameters. Otherwise use dnl -I/path/to/python/exec-prefix/include, dnl -L/path/to/python/exec-prefix/lib. dnl Python 2.6, 2.5, and then 2.4 are tried in turn. dnl NOTE: This case is historical. It is what was done for 7.0/7.1 dnl but is deprecated. dnl /path/to/python/executable - dnl Run python-config.py with this version of python to fetch the dnl compilation parameters. Tom