[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] [PATCH RFC] tools: rework uninstall target



On Sun, 2013-04-14 at 07:04 +0100, Wei Liu wrote:
> I wrote this patch because the recent change set that switch to install
> tools in /usr/local by default exposes a problem (at least for me) that,
> if dev changes --prefix in ./configure without cleaning up previous
> installation, the loader might be picking up the wrong libs.

Right, this is a bit of a pain during the transition. Not much can be
done though I think :-( I've mentioned it in a mail here and it is
referenced in the draft release notes, which I've just added a few more
words to http://wiki.xen.org/wiki/Xen_4.3_Release_Notes

> Another problem (for me) with the "install to /usr/local" changeset is
> that I have to manually run ldconfig to point ld.so to the right
> position. It might be worth adding this to Makefile as well?

I added it to http://wiki.xen.org/wiki/Compiling_Xen_From_Source.

Not sure about adding it to the Makefile, in that I'm not sure where it
would need to be to be affective. It needs to be right at the end, or
called in every library installing subdirectory. Not sure how harmful it
is to call it too often (downside is slowing down the install phase I
guess)

I don't know if this is something which projects normally do, it seems
that libtool does it, which is as much as I could determine.

You'd also need to be careful about not running it when doing a "make
dist" as non root? Or would we, not sure.

>  But I don't
> know whether this is specific to Debian Wheezy because I saw that patch
> has gone through to master which means it survived OSS-test. Another
> possibility is that OSS-test doesn't delete the old libs and still uses
> them so we don't see any error WRT that changeset.

osstest does a fresh reinstall of the host every time.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.