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 581533 - acinclude.m4 patch from openSUSE
acinclude.m4 patch from openSUSE
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
0.97
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-05 23:24 UTC by Vincent Untz
Modified: 2011-06-06 08:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (2.22 KB, patch)
2009-05-05 23:24 UTC, Vincent Untz
none Details | Review
dia-0.97-acinclude-python-fixes.patch (2.46 KB, patch)
2009-06-21 11:59 UTC, Romain Perier
needs-work Details | Review

Description Vincent Untz 2009-05-05 23:24:28 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...
Comment 1 Vincent Untz 2009-05-05 23:24:42 UTC
Created attachment 134075 [details] [review]
Patch
Comment 2 Romain Perier 2009-06-21 11:58:25 UTC
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.
Comment 3 Romain Perier 2009-06-21 11:59:38 UTC
Created attachment 137110 [details] [review]
dia-0.97-acinclude-python-fixes.patch
Comment 4 Hans Breuer 2009-10-23 12:17:27 UTC
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.
Comment 5 Hans Breuer 2011-06-05 11:59:32 UTC
Current master works on Ubuntu and Gentoo (the two I'm testing). Closing distribution specifc.
Comment 6 Vincent Untz 2011-06-05 15:21:07 UTC
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?
Comment 7 Hans Breuer 2011-06-05 17:51:20 UTC
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.
Comment 8 Vincent Untz 2011-06-06 08:26:52 UTC
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!