[MacPorts] #13337: BUG: py25-gobject fails at runtime under
Leopard (10.5.1)
MacPorts
trac at macosforge.org
Mon Dec 24 07:46:24 PST 2007
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1)
---------------------------+------------------------------------------------
Reporter: tc at pi3.co.uk | Owner: yves at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by cwalther at gmx.ch):
I have no idea what I'm doing, but I seem to be able to circumvent the
problem by applying this change to py25-gobject:
{{{
--- gobject/Makefile.in
+++ gobject/Makefile.in
@@ -259,7 +259,7 @@
CLEANFILES = constants.py
EXTRA_DIST = constants.py.in
_gobject_la_CFLAGS = $(GLIB_CFLAGS) $(am__append_3)
-_gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex
init_gobject
+_gobject_la_LDFLAGS = $(common_ldflags)
_gobject_la_LIBADD = $(GLIB_LIBS) $(FFI_LIBS)
_gobject_la_SOURCES = \
gobjectmodule.c \
}}}
After this is done, ''import gtk'' results in errors of the same kind from
_gtk.so and _cairo.so that can be treated in the same way. Or, as an even
quicker-and-dirtier workaround, use
{{{
cd /usr/bin
mv nmedit nmedit-real
ln -s true nmedit
}}}
while installing these packages.
Hope this helps someone find and fix the real bug.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:8>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list