From: Wei Liu Subject: Re: "./configure: line 7058: python-config: command not found" after commit 0013245 Date: Tue, 3 Mar 2015 18:48:43 +0000 Message-ID: <20150303184843.GA24803@zion.uk.xensource.com> References: <54F5EDDF.3050600@linaro.org> <20150303173607.GI11855@zion.uk.xensource.com> <54F5F360.4040801@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 1YSrs7-0003pT-Qf for xen-devel@lists.xenproject.org; Tue, 03 Mar 2015 18:48:47 +0000 Content-Disposition: inline In-Reply-To: <54F5F360.4040801@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: Ian Jackson , Wei Liu , Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org 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. Wei. > Regards, > > -- > Julien Grall