[pygtk] Can't build gobjectmodule.o - missing CVS checkin?
I'm trying to build PyGtk from CVS and get this compilation error: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/python2.2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -c gobjectmodule.c -MT gobjectmodule.lo -MD -MP -MF .deps/gobjectmodule.TPlo -fPIC -DPIC -o gobjectmodule.o gobjectmodule.c: In function `pygobject_register_class': gobjectmodule.c:262: structure has no member named `tp_defined' gobjectmodule.c: At top level: gobjectmodule.c:446: warning: initialization from incompatible pointer type gobjectmodule.c: In function `pyg_register_boxed': gobjectmodule.c:476: structure has no member named `tp_defined' gobjectmodule.c: At top level: gobjectmodule.c:1687: warning: initialization from incompatible pointer type gobjectmodule.c:1747: warning: initialization from incompatible pointer type gobjectmodule.c: In function `pyg_register_interface': gobjectmodule.c:1767: structure has no member named `tp_defined' gobjectmodule.c: In function `pyg_type_register': gobjectmodule.c:1965: structure has no member named `tp_defined' gobjectmodule.c: In function `initgobject': gobjectmodule.c:2359: structure has no member named `tp_defined' gobjectmodule.c:2368: structure has no member named `tp_defined' Looks like a .h file got checked in but someone forgot about gobjectmodule.c (or the .h file got checked in too soon). -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
Re: [pygtk] Can't build gobjectmodule.o - missing CVS checkin?
On Fri, Oct 19, 2001 at 02:22:15PM -0500, Skip Montanaro wrote: Actually, I'm now using 2.2b1+... I update both Python and Gtk/PyGtk stuff frequently, at least a few times a week. I had no problems yesterday. I guess I'll take a look and see what the latest PyGtk checkins were. They changed the PyTypeObject structure in 2.2b1. We haven't fixed PyGTK for that yet. Go back to 2.2a4 or wait till it's fixed. Matt ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
Re: [pygtk] Can't build gobjectmodule.o - missing CVS checkin?
Well, the tail end of all of the PyTypeObjects will have to be fixed. It looks like you should be able to use tp_cache where we were using tp_defined before, but I'm not sure. Matt On Fri, Oct 19, 2001 at 02:51:34PM -0500, Skip Montanaro wrote: Actually, I'm now using 2.2b1+... Matt They changed the PyTypeObject structure in 2.2b1. We haven't Matt fixed PyGTK for that yet. Go back to 2.2a4 or wait till it's Matt fixed. Thanks, that was enough to steer me in the right direction. Should I submit a patch to bugzilla once I'm sure I have all the changes nailed down? Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk