WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: bderzhavets@xxxxxxxxx
Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed)
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Wed, 29 Apr 2009 16:59:39 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Apr 2009 09:00:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <62172.35286.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Newsgroups: chiark.mail.xen.devel
References: <887072.6322.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <62172.35286.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 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 :-
> 
>   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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel