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 510059 - build on Mac OS X 10.5 fails with duplicate symbols
build on Mac OS X 10.5 fails with duplicate symbols
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Compilation
1.8.x
Other Mac OS
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-01-17 03:19 UTC by David Reiser
Modified: 2008-03-02 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a functional if ugly patch (1.40 KB, patch)
2008-01-17 03:21 UTC, David Reiser
committed Details | Review

Description David Reiser 2008-01-17 03:19:33 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.
Comment 1 David Reiser 2008-01-17 03:21:47 UTC
Created attachment 103035 [details] [review]
a functional if ugly patch
Comment 2 Andreas J. Guelzow 2008-01-17 05:25:05 UTC
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.
Comment 3 Jody Goldberg 2008-03-02 14:58:40 UTC
Seems reasonable.  I'll commit a variant of this.
Thankyou.