[Libreoffice] Commit 66f05b5d5acc43e4615bc19045d3600ed93e328b breaks the build

David Tardon dtardon at redhat.com
Thu Sep 8 21:28:30 PDT 2011


On Thu, Sep 08, 2011 at 09:22:52PM +0200, Francois Tigeot wrote:
> Hi,
> 
> This commit has added a file named filter/source/svg/js2hxx.py
> which has the following shebang :
> 
>    #!/usr/bin/env python
> 
> Unfortunately, system python is not always named 'python'. On one of my
> systems, it is named 'python2.6' and the build breaks when it encounters
> this script...
> 
> Configure correctly detects the right python interpreter and puts it in
> the PYTHON environment variable but I'm not sure how to exploit it to
> correct this issue

Hi, Francois,

the shebang is actually a red herring: the real problem is in
filter/source/svg/makefile.mk, that uses plain "python" in case of
"$(SYSTEM_PYTHON)" != "". Commit 82f6c0502e51afbc25e5bf0fcee7914a1a5b3f28
should fix the problem.

D.


More information about the LibreOffice mailing list