[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Can't ./configure latest git



Ah, that makes more sense. Another problem I had when trying to compile was I got a permission denied error on xen-setup, which I fixed by making as root (in a chroot of course). Was there a better way to do that?


On Tue, Apr 4, 2017, 08:06 Anthony PERARD <anthony.perard@xxxxxxxxxx> wrote:
On Tue, Apr 04, 2017 at 02:25:06AM +0000, Duncan X. Simpson wrote:
> Worked around with the following:
>
>  ~git/xen   master ± git diff
> diff --git a/tools/configure b/tools/configure
> index 7a57e6562d..874498ad80 100755
> --- a/tools/configure
> +++ b/tools/configure
> @@ -6859,7 +6859,7 @@ if echo "$PYTHON" | grep -q "^/"; then :
>      PYTHON=`basename $PYTHONPATH`
>
>  elif test -z "$PYTHON"; then :
> -  PYTHON="python"
> +  PYTHON="python2"
>  else
>    as_fn_error $? "PYTHON specified, but is not an absolute path" "$LINENO"
> 5
>  fi
>
> Not sure if this is ideal.

Or better:
./configure PYTHON=/usr/bin/python2
make PYTHON=/usr/bin/python2

--
Anthony PERARD
--

Duncan X. Simpson, K7DXS
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.