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 702611 - configure requires Python to be present even when passed --disable-python
configure requires Python to be present even when passed --disable-python
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-19 01:35 UTC by Adam Dingle
Modified: 2013-06-19 09:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2013-06-19 01:35:20 UTC
To see the problem:

1. Temporarily uninstall or rename your Python binary (typically /usr/bin/python3.3) so that it is unavailable.
2. Attempt to configure gedit without Python:

$ ./configure --disable-python

configure will complain and abort:

  checking for a Python interpreter with version >= 3.2.3... none
  configure: error: no suitable Python interpreter found

Instead, gedit should build without Python in this situation.
Comment 1 Garrett Regier 2013-06-19 02:19:54 UTC
https://git.gnome.org/browse/gedit/commit/?id=661b8d682ebb92ea3289ce9b961d6888815d07e3

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Adam Dingle 2013-06-19 09:01:40 UTC
Thanks, Garrett!  I think this is worth backporting to 3.8.  (The user who recently reported this problem on the mailing list was building that version, by the way.)
Comment 3 Garrett Regier 2013-06-19 09:55:18 UTC
Done.