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 315368 - configure does not check environment for PYTHON
configure does not check environment for PYTHON
Status: RESOLVED FIXED
Product: gamin
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-09-06 15:01 UTC by Joseph Sacco
Modified: 2006-01-06 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2005-09-06 15:01:35 UTC
Version details: 0.1.5
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.

libxml2 had the same problem, which was repaired in libxml2-2.6.21. The fix for
gamin should be similar.
Comment 1 Daniel Veillard 2005-09-08 13:08:53 UTC
Okay, fixed in CVS in the same way as for libxml2,

 thanks,

Daniel
Comment 2 Joseph Sacco 2005-09-08 13:34:07 UTC
Thank you, Daniel. I will post a patch to the GARNOME list.

-Joseph
Comment 3 Joseph Sacco 2005-09-09 02:43:38 UTC
Daniel,

There is a "small" bug. Here is the patch.

-Joseph

========================================================================

diff --speed-large-files --minimal -Npru gamin-0.1.6.orig/configure
gamin-0.1.6/configure
--- gamin-0.1.6.orig/configure  2005-09-08 08:47:52.000000000 -0400
+++ gamin-0.1.6/configure       2005-09-08 22:33:39.000000000 -0400
@@ -23359,7 +23359,6 @@ _ACEOF
 fi


-PYTHON=
 PYTHON_VERSION=
 PYTHON_INCLUDES=
 PYTHON_SITE_PACKAGES=
diff --speed-large-files --minimal -Npru gamin-0.1.6.orig/configure.in
gamin-0.1.6/configure.in
--- gamin-0.1.6.orig/configure.in       2005-09-08 08:35:34.000000000 -0400
+++ gamin-0.1.6/configure.in    2005-09-08 22:33:55.000000000 -0400
@@ -415,7 +415,6 @@ dnl
 dnl check for python
 dnl

-PYTHON=
 PYTHON_VERSION=
 PYTHON_INCLUDES=
 PYTHON_SITE_PACKAGES=
Comment 4 Daniel Veillard 2005-09-09 10:42:40 UTC
Dohh, I had done it, lost my changes, redid it but forgot that line :-\

  sorry,

Daniel
Comment 5 Joseph Sacco 2005-09-09 12:46:38 UTC
Daniel,

No big deal... The only people who never make mistakes are dead [:-)]. I posted
the patch to the GARNOME mailing list.

Hopefully, you will also have some time to fix bug #315367.

-Joseph