From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: "./configure: line 7058: python-config: command not found" after commit 0013245 Date: Tue, 3 Mar 2015 17:36:13 +0000 Message-ID: <1425404173.25940.82.camel@citrix.com> References: <54F5EDDF.3050600@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YSqjy-0006fK-J0 for xen-devel@lists.xenproject.org; Tue, 03 Mar 2015 17:36:18 +0000 In-Reply-To: <54F5EDDF.3050600@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel , Ian Jackson , Wei Liu List-Id: xen-devel@lists.xenproject.org On Tue, 2015-03-03 at 17:22 +0000, Julien Grall wrote: > Hi, > > I've tried to use ./configure on the latest master and got the below error: > > checking for python-config... no > checking Python.h usability... yes > checking Python.h presence... yes > checking for Python.h... yes > checking for PyArg_ParseTuple in -lpython2.7... yes > checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE... > ./configure: line 7058: python-config: command not found > no > checking for xgettext... /usr/bin/xgettext > > Shall we require python-config installed on the build-platform? m4/python_devel.m4 seems to suggest it was made optional on purpose, I don't know why or which versions of Python were the first to include the tool though. Perhaps AX_CHECK_PYTHON_FORTIFY_NOOPT should be a nop unless python-config is available? Or perhaps AX_CHECK_PYTHON_DEVEL should export PYTHON_CFLAGS etc which the fortify test should look at instead of invoking python-cofnig? Ian.