WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [Patch] Install python tools with --force option

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] Install python tools with --force option
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Tue, 07 Mar 2006 19:35:18 +0900
Delivery-date: Tue, 07 Mar 2006 10:37:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <takebe_akio@xxxxxxxxxxxxxx>

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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] Install python tools with --force option, Akio Takebe <=