From: Akio Takebe Subject: [Patch] Install python tools with --force option Date: Tue, 07 Mar 2006 19:35:18 +0900 Message-ID: <4BC641D2D3F670takebe_akio@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org Hi, When I reinstall tools, new tools/python are not installed. This is cause by being overwriten at "python setup.py install". Please check your /usr/lib/python is changed to new one. I think tools/python should be installed with "--force" option at reinstalling. Otherwise should we use "make uninstall" at reinstalling? Signed-off-by: Akio Takebe diff -r d60392d5b818 tools/python/Makefile --- a/tools/python/Makefile Mon Mar 6 19:29:39 2006 +++ b/tools/python/Makefile Tue Mar 7 19:28:32 2006 @@ -9,10 +9,10 @@ ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --force else install: all - CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" + CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force endif test: Best Regards, Akio Takebe