On 04 Jan 2008, at 17:27, Daniel Macks wrote: > The gnome python bindings have some standard macros to control this > kind of situation (essentially, inhibit defining the symbol in certain > object files). Instead of -m, try patching the sources for the two > colliding .o (cplplotcanvasmodule.c and cplplotcanvas.o perhaps?) to > insert a line: > > #define NO_IMPORT_PYGOBJECT > > before the > > #include "pygobject.h" > Right on ! (cplplotcanvas.c is a generated file _ by pygtk2-gtk-py's codegen/h2def.py and pygtk-codegen-2.0 _ but inserting it just into the other, together with a #define NO_IMPORT_ARRAY (for numeric-py25's arrayobject.h) seems to fix the trouble..
Thanks ! JF ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
