Skip to contentSkip to conversation

README: Document python2 dependency

PATCH In review George Dunlap 3 participants 3 messages Mar 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README: Document python2 dependency

Much of the tools and configure makefile actually have a python2 dependency; specify this. It also assumes that python points to python2; document how to work around this on systems where this is false.

Also update second version requirement listed to match the first.

---
Release justification:
- Fixes a 'bug' in the documentation
- No functional change

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Juergen Gross <[email protected]>
---
 README | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
README +8 -2
index 7807e93639..c19409efa2 100644
@@ -46,7 +46,7 @@ provided by your OS distributor:
         - GCC 4.8 or later
         - GNU Binutils 2.24 or later
     * Development install of zlib (e.g., zlib-dev)
-    * Development install of Python v2.4 or later (e.g., python-dev)
+    * Development install of Python 2, v2.4 or later (e.g., python-dev)
     * Development install of curses (e.g., libncurses-dev)
     * Development install of openssl (e.g., openssl-dev)
     * Development install of x11 (e.g. xorg-x11-dev)
@@ -177,10 +177,16 @@ Python Runtime Libraries
 
 Various tools, such as pygrub, have the following runtime dependencies:
 
-    * Python 2.3 or later.
+    * Python 2, v2.4 or later.
           URL:    http://www.python.org/
           Debian: python
 
+Note that the build system expects `python` to be python2.  If your system
+has `python` pointing to python3 (as in the case of Arch Linux or Anaconda),
+you'll need to specify a path to a python2 binary when running configure:
+
+    PYTHON=/usr/bin/python2 ./configure
+
 Intel(R) Trusted Execution Technology Support
 =============================================
 
Signature · 7 lines
2.20.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · George Dunlap

Much of the tools and configure makefile actually have a python2 dependency; specify this. It also assumes that python points to python2; document how to work around this on systems where this is false.

Also update second version requirement listed to match the first.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
In reply to George Dunlap
Quoted 7 lines · George Dunlap

Much of the tools and configure makefile actually have a python2 dependency; specify this. It also assumes that python points to python2; document how to work around this on systems where this is false.

Also update second version requirement listed to match the first.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel