Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Michael Stahl wrote:

iirc the configure will only try to use a python >= 3.3 from the system;
if your build is trying to use system python 2.7 you probably used
--enable-python=system, or maybe i remember it wrong and it works
differently on Mac (but why?).

I also tried to include  --enable-python=internal but then it
couldn't find it. So I wonder how the LO build gets its internal
Python: does it compile it from source or does it make a copy of a
Python on your system?

what does "it couldn't find it" mean?
 
I can't remember, just that it wouldn't build.

it should build the bundled python3 from source and link pyuno against
it; if you change the configure flags you need to "make pyuno.clean" to
rebuild pyuno against the bundled python3.

The "make pyuno.clean" helped. After that the build with --enable-python=internal succeeded.
I did not try a build with --enable-python=system nor the default (auto), but from reading the 
configure script I guess that passing PYTHON=python3.3 might solve that issue.

Anyway after the make pyuno.clean and a new make the system built without problems. And lo and 
behold my other problem - LibreOfficeDev.app crashing at startup - has also been solved. I don't 
know if the python issue caused that, or that it was solved because I did an additional git pull.
-- 
Piet van Oostrum <piet@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.