GNOME Bugzilla – Bug 680671
configure should check for the python-devel package if called with --enable-python
Last modified: 2018-06-29 23:09:44 UTC
If you run configure --enable-python and the package python-devel is missing, make complains about the missing file python.h. Ideally already configure should throw an error. BTW configure.ac needs some rework before autoconf 2.68 can be used. Until then probably some AC_CHECK_HEADERS(python.h) would help.
OK. Why don't you just fix it?
Created attachment 220299 [details] [review] configure.ac.patch Re c1: Last week I was too tired, when I detected it. And this is the first time, I touch the build system. While the patch gave me the desired result, I apply it not directly but ask for review, e.g. obsolets PKG_CHECK_MODULES(PYTHON, python >= 2.4 ... one of the following lines? Should the comment be shorter? Something else to improve?
I assume it should also be backported as the issue is also in the stable branch.
Comment on attachment 220299 [details] [review] configure.ac.patch OK. You can change the assignment to yourself when you create the bug to let everyone know that you intend to work on it. Your patch is fine.
(In reply to comment #3) > I assume it should also be backported as the issue is also in the stable > branch. Yes, of course.
r 22279: 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. r 22280: This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=680671. Please update any external references or bookmarks.