From: Boris Derzhavets Subject: Re: Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Date: Wed, 29 Apr 2009 09:21:01 -0700 (PDT) Message-ID: <92873.71830.qm@web56108.mail.re3.yahoo.com> References: <201697.67395.qm@web56108.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0941401773==" Return-path: In-Reply-To: <201697.67395.qm@web56108.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============0941401773== Content-Type: multipart/alternative; boundary="0-476889671-1241022061=:71830" --0-476889671-1241022061=:71830 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Disregard this question. Boris. --- On Wed, 4/29/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Serve= r (Ubuntu Desktop installed) To: "Ian Jackson" Cc: "xen-devel" Date: Wednesday, April 29, 2009, 12:15 PM Could you please point to an exact location of setup.py to be edited. I found several files under xen-unstable.hg. export PYTHONPATH=3D/usr/lib/python2.5/site-packages doesn't help. Boris. --- On Wed, 4/29/09, Ian Jackson wrote: From: Ian Jackson Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Serve= r (Ubuntu Desktop installed) To: bderzhavets@yahoo.com Cc: "xen-devel" Date: Wednesday, April 29, 2009, 11:59 AM Boris Derzhavets writes ("Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed)"): > Is there any way to point xen 3.4-rc3-pre source (xen-unstbale.hg) to > pick up for build phase python 2.5 , installed on=A0 the system, instead = of 2.6 > used by gnome environment as default. You need to change the default python version used by `setup.py' which calls the standard Python setup machinery. I'm no python expert but I think you might be able to get the Xen build system to do the right thing by making `python' on $PATH point to the python version you want it to use. It seems like a bug to me that it uses `python' rather than having a variable `PYTHON' but we probably won't fix that in 3.4 now. > I found statement :- >=20 > The reason for this is that Xen 3.0 is bound to Python > 2.4 whereas Xen 3.2 is bound to Python 2.5. That comment is about the Debian Xen packages and isn't relevant if you're building it yourself. When you build Xen your build version gets the python version you used baked into it. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-476889671-1241022061=:71830 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Disregard this question.
Boris.

---= On Wed, 4/29/09, Boris Derzhavets <bderzhavets@yahoo.com><= /b> wrote:
From: Boris Derzhavets <bderzhave= ts@yahoo.com>
Subject: Re: [Xen-devel] Attempt to build xen-unstable = on Ubuntu 9.04 Server (Ubuntu Desktop installed)
To: "Ian Jackson" <I= an.Jackson@eu.citrix.com>
Cc: "xen-devel" <xen-devel@lists.xensour= ce.com>
Date: Wednesday, April 29, 2009, 12:15 PM

Could you please point to an exact location of setup.py to be edited.
I found= several files under xen-unstable.hg.

export PYTHONPATH=3D/usr/lib/p= ython2.5/site-packages
doesn't help.

Boris.

--- On Wed,= 4/29/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com&= gt;
Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.0= 4 Server (Ubuntu Desktop installed)
To: bderzhavets@yahoo.com
Cc: "xe= n-devel" <xen-devel@lists.xensource.com>
Date: Wednesday, April 29= , 2009, 11:59 AM

Boris Derzhavets writes ("Re: [Xen-devel] Atte=
mpt to build xen-unstable on
Ubuntu 9.04 Server (Ubuntu Desktop installe= d)"):
> Is there any way to point xen
3.4-rc3-pre source (xen-uns= tbale.hg) to
> pick up for build phase python 2.5 , installed on  the system, instead of
2.6
> used by gnome environment a= s default.

You need to change the default python version used by `se= tup.py' which
calls the standard Python setup machinery. I'm no python = expert but
I think you might be able to get the Xen build system to do t= he right
thing by making `python' on $PATH point to the python version y= ou want
it to use.

It seems like a bug to me that it uses `python= ' rather than having a
variable `PYTHON' but we probably won't fix that = in 3.4 now.

> I found statement :-
>
> The reason = for this is that Xen 3.0 is bound to Python
> 2.4 whereas Xen 3.2 i= s bound to Python 2.5.

That comment is about the Debian Xen packages= and isn't relevant if
you're building it yourself. When you build Xen = your build version
gets the python version
you used baked into it.
Ian.

_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A --0-476889671-1241022061=:71830-- --===============0941401773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0941401773==--