GNOME Bugzilla – Bug 697364
Build system fails on Python multiarch installations
Last modified: 2013-04-06 09:24:17 UTC
In the next Ubuntu release, python will be installed with multiarch support, which breaks the build because assumptions are made about python library locations which no longer hold true. Patch attached. python-config has been supported in upstream Python since 2.6, so use python-config to determine include file and library locations and names if it is available. Otherwise fall back to the old behaviour. This fixes the build in the current development release of Ubuntu, and is a reasonably generic and cross-platform way to configure the build for Python.
Created attachment 240757 [details] [review] Patch to fix this issue
Thanks for the patch. Just pushed to master: https://git.gnome.org/browse/dia/commit/?id=c66f9543c41008ccc2f093b744da6893c2cb91e9 I've tested the cross-platform-ness of the approach with gentoo/64 and OS X 10.7 and indeed both work fine now ;-)
*** Bug 669882 has been marked as a duplicate of this bug. ***