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 610530 - dia: Don't use LOCALMODLIBS from python for linking
dia: Don't use LOCALMODLIBS from python for linking
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: python
0.97.x
Other Linux
: Normal normal
: 0.97.2
Assigned To: Hans Breuer
Hans Breuer
Depends on:
Blocks:
 
 
Reported: 2010-02-20 12:23 UTC by Roland Stigge
Modified: 2011-03-20 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for acinclude.m4 (764 bytes, patch)
2010-02-20 12:24 UTC, Roland Stigge
none Details | Review

Description Roland Stigge 2010-02-20 12:23:33 UTC
Hi,

a Debian user reported:

===================================================================
dia uses LOCALMODLIBS from python for linking. But as LOCALMODLIBS is
only intended to be used by the python intrepreter itself and not for
application linking against libpython2.6 this will cause [build problems] as it
doesn't find -lssl (libssl-dev is not python2.6-dev's dependencies).
The attached patch fixes
this by removing the use of LOCALMODLIBS.
===================================================================

I'm also attaching the patch.

Thanks for considering,

bye,
  Roland
Comment 1 Roland Stigge 2010-02-20 12:24:56 UTC
Created attachment 154266 [details] [review]
Patch for acinclude.m4
Comment 2 Roland Stigge 2010-02-20 12:25:38 UTC
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569695
Comment 3 Roland Stigge 2010-02-27 11:56:23 UTC
Please note that this bug makes dia fail to build on Debian, Ubuntu, etc. when using Python 2.6. See also http://bugs.debian.org/571271
Comment 6 Hans Breuer 2011-03-20 11:21:18 UTC
cherry-picked to dia-0-97 branch as:
http://git.gnome.org./browse/dia/commit/?h=dia-0-97&id=5951ca32eec18a8cbeb2cc33861ace5a03ccfaa4