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

2017-04-04 Thread Duncan X. Simpson
I just realized I misread the error message. I fixed the environment and got it working. On Tue, Apr 4, 2017 at 8:30 AM Anthony PERARD wrote: On Tue, Apr 04, 2017 at 03:09:48PM +, Duncan X. Simpson wrote: > Ah, that makes more sense. Another problem I had when trying to compile was > I got a

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

2017-04-04 Thread Anthony PERARD
On Tue, Apr 04, 2017 at 03:09:48PM +, Duncan X. Simpson wrote: > 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? This sound

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

2017-04-04 Thread Duncan X. Simpson
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 wrote: > On Tue, Apr 04, 2017 at 02:25:0

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

2017-04-04 Thread Anthony PERARD
On Tue, Apr 04, 2017 at 02:25:06AM +, 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 @@

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

2017-04-03 Thread Duncan X. Simpson
In addition, I had to grep -r -l '$(PYTHON)' * | xargs sed -i 's!$(PYTHON)!/usr/bin/python2!g' because I couldn't figure out where $(PYTHON) was set. At first I thought it was tools/get-fields.sh but setting it there didn't fix it. On Mon, Apr 3, 2017 at 7:25 PM Duncan X. Simpson wrote: > Worked

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

2017-04-03 Thread Duncan X. Simpson
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

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

2017-04-03 Thread Duncan X. Simpson
I just cloned Xen from git, but it won't configure. I have both versions of Python installed, but it tries to use 3 to run 2 code: checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes File "", line 1 import distutils.sysconfig; prin