URL: https://github.com/SSSD/sssd/pull/5774
Author: pbrezina
Title: #5774: configure: do not unset PYTHON_PREFIX and PYTHON_EXEC_PREFIX
Action: opened
PR body:
"""
Recent changes in autoconf changed location of directories from:
```
checking for /usr/bin/python3 script directory... ${prefix}/lib/python3.9/site-packages
checking for /usr/bin/python3 extension module directory... ${exec_prefix}/lib64/python3.9/site-packages
```
to
```
checking for /usr/bin/python3 script directory... ${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for /usr/bin/python3 extension module directory... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages
```
However, we unset these variables in SSS_CLEAN_PYTHON_VARIABLES and
therefore the correct prefix is not applied anymore during installation.
---
The variables are unset because we support both python2 and python3 (look for `AM_PATH_PYTHON` in configure.ac).
Perhaps there is a better solution? But honestly, I don't think that the exec prefix will ever be different for python2 and python3, additionally the world is stepping away from python2.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5774/head:pr5774
git checkout pr5774