GNOME Bugzilla – Bug 581533
acinclude.m4 patch from openSUSE
Last modified: 2011-06-06 08:26:52 UTC
Here's a patch we have in openSUSE for acinclude.m4, to fix some python stuff. Note that I would expect this to not live in git and to be generated by the autotools...
Created attachment 134075 [details] [review] Patch
An other problem into acinclude.m4 is that python will display a traceback due to "package 'sys' has no attribute 'lib'" (at least with python2.6). And the configure failed due to this issue. You'll find in attachment a patch which solves the problem.
Created attachment 137110 [details] [review] dia-0.97-acinclude-python-fixes.patch
Trying the second patch I get: checking for python module gtk... yes checking for headers required to compile python extensions... found checking for libpython2.5.a... not found configure: error: could not find files required to build python plugin I'd like to get this more easy by being generated by autotools, but I'm only qualified to check if it works for me.
Current master works on Ubuntu and Gentoo (the two I'm testing). Closing distribution specifc.
I disagree, it's not distribution-specific and it's really a bug: assuming that $libdir is $prefix/lib is just wrong. What is the issue with the actual patch?
AFAICT that something similar got applied, but if you insist we can keep the bug open forever ;) Oh wait: at least the subject is distribution specific.
Ah, sorry, it wasn't clear from your comment that something similar got applied; it just felt like you closed the issue as something distribution-specific. Thanks for the clarification!