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