https://bugs.documentfoundation.org/show_bug.cgi?id=169163
Bug ID: 169163
Summary: configure doesn't allow to select the python version
to use
Product: LibreOffice
Version: 25.8.2.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
I want to pass a specific version of python and after looking at the configure
script and autotools docs I gather that passing PYTHON is the way to do that.
But running configure just selects the undesired, generic python executable.
I think what happens is, that a code path is hit, where if PYTHON is not null
an AM_PATH_PYTHON invocation is skipped and later PYTHON and some related
autotools variables are unset. Which then doesn't help to direct the real first
AM_PATH_PYTHON call to find the desired python version.
Steps to Reproduce:
1. PYTHON=<myfancyspecificpython> configure--enable-python=system ...
2.
3.
Actual Results:
checking which Python to use for Pyuno... system
checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
instead of the desired myfancyspecificpython
Expected Results:
checking for python... /usr/bin/myfancyspecificpython
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 25.8.2.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 20; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+xcb)
Locale: de-DE (en_GB.UTF-8); UI: de-DE
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.