[PATCH] lowering baseline for python used during building

Christian Lohmaier (via Code Review) gerrit at gerrit.libreoffice.org
Tue Mar 19 18:07:05 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2862

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/62/2862/1

lowering baseline for python used during building

builds fine when using system python for building on Mac OSX 10.5
(comes with python 2.5 only). Note that python 2.5 is not enough
for pyuno/python scripting at runtime, so for that internal python is
built nevertheless.

Change-Id: I51a4450cad1e09aecd12f192db1fb797313cf322
---
M configure.ac
1 file changed, 3 insertions(+), 2 deletions(-)



diff --git a/configure.ac b/configure.ac
index 1492d72..9627162 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7260,13 +7260,14 @@
 AC_SUBST([MINGW_ZLIB_DLL])
 
 # =====================================================================
-# Checking for a Python interpreter with version >= 2.6 needed to build LO.
+# Checking for a Python interpreter with version >= 2.5 needed to build LO.
+# runtime requires Python 3 compatible version (>= 2.6)
 # Optionally user can pass an option to configure, i. e.
 # ./configure PYTHON=/usr/bin/python
 # =====================================================================
 if test "$build_os" != "cygwin"; then
     # This allows a lack of system python with no error, we use internal one in that case.
-    AM_PATH_PYTHON([2.6],, [:])
+    AM_PATH_PYTHON([2.5],, [:])
     # Clean PYTHON_VERSION checked below if cross-compiling
     PYTHON_VERSION=""
     if test "$PYTHON" != ":"; then

-- 
To view, visit https://gerrit.libreoffice.org/2862
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I51a4450cad1e09aecd12f192db1fb797313cf322
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>



More information about the LibreOffice mailing list