GNOME Bugzilla – Bug 510059
build on Mac OS X 10.5 fails with duplicate symbols
Last modified: 2008-03-02 14:58:40 UTC
Building gnumeric 1.8.0 under Mac OS X 10.5 with dependencies supplied by fink fails in the python-loader plugin: ld: duplicate symbol __PyGObject_API in .libs/gnm-python.o and .libs/python-loader.o following the discussion at http://thread.gmane.org/gmane.os.macosx.fink.devel/15552/focus=15555 regarding portable solutions for gnome python bindings problems, I added #define NO_IMPORT_PYGOBJECT before #include <pygobject.h> in plugins/python-loader/gnm-python.c plugins/python-loader/py-gnumeric.c plugins/python-loader/python-loader.c and compilation succeeds.
Created attachment 103035 [details] [review] a functional if ugly patch
Severity This field describes the impact of a bug on a user. Blocker Blocks development and/or testing work. The python loader is an optional plugin. So while this bug may be inconvenient if you are interested in this plugin, it is not ablocker as far as Gnumeric is concerned.
Seems reasonable. I'll commit a variant of this. Thankyou.