Jade Meskill wrote:

On 6/30/03 10:29 PM, "James Henstridge" <[EMAIL PROTECTED]> wrote:

--snip--


I think I have fixed this problem in CVS now.  It would be helpful if
you could test this on your machine and report back on whether it fixes
the problem for you.  Try editing the gtk/pygtktreemodel.c and
gtk/pygtkcellrenderer.c files, and remove the line `#include
"pygobject.h"' in each file.  After the change, pygtk should compile and
link correctly.

James.



gcc -r -keep_private_externs -nostdlib -o .libs/gobjectmodule.so-master.o
gobjectmodule.lo pygtype.lo pygobject.lo pygboxed.lo && gcc -bundle
-flat_namespace -undefined suppress -o .libs/gobjectmodule.so
.libs/gobjectmodule.so-master.o -L/sw/lib -lgobject-2.0 -lglib-2.0 -lintl
-liconv -lc ld: multiple definitions of symbol _PY_TYPE_OBJECT
gobjectmodule.lo definition of _PY_TYPE_OBJECT in section (__DATA,__data)
pygtype.lo definition of _PY_TYPE_OBJECT in section (__DATA,__common)
pygobject.lo definition of _PY_TYPE_OBJECT in section (__DATA,__common)
pygboxed.lo definition of _PY_TYPE_OBJECT in section (__DATA,__common)
make[2]: *** [gobjectmodule.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Arrgh. That's the other related problem I fixed since the 1.99.16 release. I believe what is in CVS should compile and run on Mac OS X now.

If you don't want to use CVS, I think the other remaining change is to edit pygobject-private.h and change the line "GType PY_TYPE_OBJECT" to "extern GType PY_TYPE_OBJECT".

Thanks for the bug report though.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to