This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubu

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed)
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 29 Apr 2009 09:15:41 -0700 (PDT)
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Apr 2009 09:16:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241021741; bh=cdz2ALuXWSfhPhqh7UtYEkZuTeV+Ncx+1sJcERRtrag=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=mMGvfWyC/pU7ihrPVFbLkJjlRhLW8//gFRmN4MZLT4zsK2ic2DsLM/uOprugQ9Dba+PeM2HMy/c5Mrhb7lPxEVQvfw+M556jxHyn4AFx3jqZmd8mnE3s0wfA0YbYWFMI6j5k2nVv+ZYeser7F1Xdelq8XsfWcOkIiTJd3JZ16Lc=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=sXviPEv125/NinMsU2Be6X8TcCw04c0g/a6rE21waPDtikrrZGZ0vS33QLMRo7KBChTh+7ks/7KIH5VJZZ3jYwZ2ZYck0Nf0llQHnFtqmYDh0nr7aDNSaocDRZmK6gmr/52j/70QHCR4rtLNIH9GV4iJGLW6TA6MUPfXc1ugWhc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18936.31083.619362.51312@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Could you please point to an exact location of setup.py to be edited.
I found several files under xen-unstable.hg.

export PYTHONPATH=/usr/lib/python2.5/site-packages
doesn't help.


--- On Wed, 4/29/09, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed)
To: bderzhavets@xxxxxxxxx
Cc: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
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  the system, instead of
> 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 :-
> 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.


Xen-devel mailing list