Building LibreOffice with system Python 2.6

Michael Stahl mstahl at redhat.com
Wed Jan 16 02:47:51 PST 2013


On 16/01/13 11:17, Maxim Lacrima wrote:
> Hi!
> 
> I am trying to build LibreOffice from 4-0 branch. I want to build it
> with system Python. On my system (CentOS) it is currently 2.6.
> 
> When I run ./autogen.sh --enable-python=system
> 
> I get following error:
> 
> checking which Python to use... system
> checking for a Python interpreter with version >= 3.3... none
> configure: error: no suitable Python interpreter found
> Error running configure at ./autogen.sh line 192.
> 
> Is it possible to override Python version?

yes:

"however for a transition period of a few releases it will still be
possible to use a Python 2 version 2.6 or later, by explicitly setting
PYTHON, PYTHON_CFLAGS, PYTHON_LIBS variables."




More information about the LibreOffice mailing list