From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: "./configure: line 7058: python-config: command not found" after commit 0013245 Date: Tue, 03 Mar 2015 19:41:58 +0000 Message-ID: <54F60E86.2040702@linaro.org> References: <54F5EDDF.3050600@linaro.org> <20150303173607.GI11855@zion.uk.xensource.com> <54F5F360.4040801@linaro.org> <20150303184843.GA24803@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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 1YSshe-0003QP-Ju for xen-devel@lists.xenproject.org; Tue, 03 Mar 2015 19:42:02 +0000 Received: by widem10 with SMTP id em10so24004101wid.0 for ; Tue, 03 Mar 2015 11:42:00 -0800 (PST) In-Reply-To: <20150303184843.GA24803@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: xen-devel , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 03/03/2015 18:48, Wei Liu wrote: > On Tue, Mar 03, 2015 at 05:46:08PM +0000, Julien Grall wrote: >> On 03/03/15 17:36, Wei Liu wrote: >>> On Tue, Mar 03, 2015 at 05:22:39PM +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? >>>> >>> >>> Isn't it part of the python-dev package? I'm using Debian, but I would >>> expect it should come with whatever python development package you >>> distro has? >> >> My point wasn't about the missing package but the odd error of the >> configure when python-config doesn't exist. >> > > My point being that you've clearly installed python development package > (and we check that in configure) but you don't have python-config. It > looks a bit weird. But if this is how some distro packages python then > we should deal with this. Oh sorry I didn't understand your point like that. I'm using Debian Jessie. python-dev is not installed. Although I have libpython-dev installed. Regards, -- Julien Grall