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] [PATCH] Attempt to build xen-unstable on Ubuntu 9.04 Ser

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed)
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 7 May 2009 15:16:10 +0100
Cc: "bderzhavets@xxxxxxxxx" <bderzhavets@xxxxxxxxx>, Alex Zeffertt <Alex.Zeffertt@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 May 2009 07:16:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6289F61.A26E%keir.fraser@xxxxxxxxxxxxx>
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>
References: <4A02DED8.5000503@xxxxxxxxxxxxx> <C6289F61.A26E%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Keir Fraser writes ("Re: [Xen-devel] [PATCH] Attempt to build xen-unstable on 
Ubuntu 9.04 Server (Ubuntu Desktop installed)"):
> On 07/05/2009 14:15, "Alex Zeffertt" <alex.zeffertt@xxxxxxxxxxxxx> wrote:
> > This patch appears to fix the problem.  Just don't use --prefix.  It
> > doesn't seem to make any difference for python2.5, but it installs to
> > the correct place under python 2.6.
> 
> Wouldn't it be correct to specify --prefix (even if that means installing to
> blah/site-packages) if the user has overridden prefix to make a personal
> installation avoiding conflicting with distro packages? Otherwise PREFIX
> allows a user to install Xen bits somewhere out of the way, except the
> Python bits which will still blat the default install path.

Quite so.

> Perhaps config/*.mk should define DEFAULT_PREFIX and PREFIX, and we omit
> --prefix= to Python installer if the two are equal?

That would be one way to do it but sadly it's not sufficient.  On
pre-jaunty Ubuntu systems (and many others), omitting --prefix puts
everything in /usr which is also wrong.

I think the right answer is to provide a way to suppress the --prefix
explicitly.  That will provide a workaround to people with the broken
python setup, without making things go wrong for anyone else.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>