From: Ian Jackson Subject: Re: [PATCH] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Date: Thu, 7 May 2009 15:16:10 +0100 Message-ID: <18946.60714.390835.300915@mariner.uk.xensource.com> References: <4A02DED8.5000503@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "bderzhavets@yahoo.com" , Alex Zeffertt , xen-devel List-Id: xen-devel@lists.xenproject.org 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" 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.