Summary: | aMule/xmule compilation error with Pango-1.10.0, undefined reference to `pango_x_get_context' in wxGTK | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nikodll <nikodll> |
Component: | Current packages | Assignee: | Gentoo net-p2p team <net-p2p> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | iyosifov, kiegel, wxwidgets |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
nikodll
2005-09-13 00:43:33 UTC
i'm pretty sure, that recompilation of wxGTK will fix the problem. closing for now - fell free to reopen if that won't help nope :( problem still exist with the same error could you try to recompile pango, gtk+ and wxGTK (in given order - it's important) one more time and let me know if that helped? no feedback from reporter. closing *** Bug 113145 has been marked as a duplicate of this bug. *** Please reopen ( I can't do it myself ). I ran emerge -1 pango gtk+ =wxGTK-2.4.2-r3, the versions being: [ebuild R ] x11-libs/pango-1.10.1 [ebuild R ] x11-libs/gtk+-2.8.7 [ebuild R ] x11-libs/wxGTK-2.4.2-r3 and got the same error. Reopened for further investigation. Actually amule _does_ compile fine. It is xmule that is giving me the error. At first I filed a separate bug about it (#113145) but it got resolved as a dup of this one. Should I reopen the other one or do we continue here ? /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libwx_gtk2_core-2.6.so: undefined reference to `pango_x_get_context' collect2: ld returned 1 exit status I think the problem is in wxGTK so this bug is fine. Ok. Actually with xmule it is: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2-2.4.so: undefined reference to `pango_x_get_context' collect2: ld returned 1 exit status Seems to me that xmule gets compiled against wxGTK-2.4 while amule uses wxGTK-2.6. I have both 2.4.2-r3 and 2.6.2 installed but xmule config says: checking for wxgtk2-2.4-config... /usr/bin/wxgtk2-2.4-config checking for wxWindows version >= 2.5.3... no (version 2.4.2 is not new enough) checking for wxgtk2-2.4-config... (cached) /usr/bin/wxgtk2-2.4-config checking for wxWindows version >= 2.4.2... yes (version 2.4.2) i've just added xmule-1.10.1-r2. it's compiled and linked with wxGTK-2.6, which (started from 2.6.2) is paatched against that bug. this version should fix the problem I tried to emerge amule and had the same linking problem with wxgtk. 'Undefined Reference to pango_x_get_context ...' I was able to fix it following the suggestions on http://forum.amule.org/thread.php?threadid=7226&sid=0a8ad24d0db82fe629758cafdd19e7a9&hilight=pango+x+get+context After I added those three lines to src_compile() it worked! src_compile() { if has_version '>=x11-libs/pango-1.10.0'; then export LDFLAGS="${LDFLAGS} -lpangox-1.0" fi ... } I don't understand what it does .. but it might be of anyones interest around here ... :) If not .. don't mind .. I'm new on Gentoo and just wanted to help. could you please write which versions of wxGTK, pango and amule cause that problem? Here you are x11-libs/wxGTK Latest version installed: 2.6.1 x11-libs/pango Latest version installed: 1.10.2 net-p2p/amule Latest version installed: 2.0.3-r4 regards, Colin This is a dup of bug 105189 *** This bug has been marked as a duplicate of 105189 *** |