GNOME Bugzilla – Bug 639271
glib-introspection configure fail when python3 is default
Last modified: 2015-02-07 17:01:44 UTC
When trying to build gnome-shell with jhbuild I get the following from the configure script: checking whether Python support is requested... checking for a Python interpreter with version >= 2.5... python checking for python... /usr/bin/python checking for python version... 3.1 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python3.1/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages checking for headers required to compile python extensions... File "<string>", line 1 import sys; print sys.prefix ^ SyntaxError: invalid syntax
+ Trace 225497
import sys; print sys.exec_prefix
not found configure: error: Python headers not found I guess that the problem is with the following macro: AM_CHECK_PYTHON_HEADERS(,AC_MSG_ERROR([Python headers not found])), but I don't know if this is an issue for glib-introspection or autotools, so I'm reporting it here.
This has been fixed ages ago in commit 0f923410a4106fc8e2c67ef7515e7f23a344121a.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]