After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 310787 - configure does not check environment for PYTHON
configure does not check environment for PYTHON
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
1.1.14
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-18 17:23 UTC by Joseph Sacco
Modified: 2006-01-05 16:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Joseph Sacco 2005-07-18 17:23:40 UTC
Distribution/Version: YDL-4.0.1

When searching for python, configure should first check the environment to see
if PYTHON has been set, before checking the file system in the usual places.

Take a look at the configure file for gnome-menus-2.11.1.1 for an example of how
to resolve this issue.
Comment 1 Joseph Sacco 2005-07-22 13:46:55 UTC
Using the configuration flag

     --with-python="path-to-python-installation"

will cause configure to set

     pythondir = PYTHON_SITE_PACKAGES

rather than

     pythondir = $(libdir)/python${PYTHON_VERSION}/site-packages

-Joseph