From: Ian Campbell Subject: Re: [PATCH] [PATCH RFC] tools: rework uninstall target Date: Mon, 15 Apr 2013 16:36:35 +0100 Message-ID: <1366040195.8399.87.camel@zakaz.uk.xensource.com> References: <1365918682-18481-1-git-send-email-wei.liu2@citrix.com> <20130414060440.GC17602@zion.uk.xensource.com> <1366020516.4963.46.camel@zakaz.uk.xensource.com> <20130415151001.GG17602@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130415151001.GG17602@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Roger Pau Monne , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2013-04-15 at 16:10 +0100, Wei Liu wrote: > On Mon, Apr 15, 2013 at 11:08:36AM +0100, Ian Campbell wrote: > > 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. > > > > Could add similar things in Xen's README as well? Probably could link to the wiki for details as well as including the existing quickstart as well. I'm a little bit wary of "littering" the quickstart with workarounds and hacks for upgrading from old versions but I think /sbin/ldconfig is something which should always have been done but /usr/lib is treated specially by ld.so or something. Ian.