bug in py-gtk-2.0?

James Henstridge james at daa.com.au
Sun Sep 28 08:12:14 PDT 2003


On 28/09/03 20:36, Seva Gluschenko wrote:

>Hi there.
>
>I'm trying to build py-gtk2 from FreeBSD ports and I'm getting
>messages like this:
>
>source='pygtkcellrenderer.c' object='_gtk_la-pygtkcellrenderer.lo'
>libtool=yes \
>depfile='.deps/_gtk_la-pygtkcellrenderer.Plo'
>tmpdepfile='.deps/_gtk_la-pygtkcellrenderer.TPlo' \
>depmode=gcc /usr/local/bin/bash ../depcomp \
>/usr/local/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
>-I. -I.. -I.. -I/usr/local/include/python2.3   -D_THREAD_SAFE
>-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
>-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
>-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0
>-I/usr/X11R6/include -I/usr/local/include/freetype2
>-I/usr/local/include   -O -pipe -march=pentiumpro -D_THREAD_SAFE -Wall
>-std=c9x -c -o _gtk_la-pygtkcellrenderer.lo `test -f
>'pygtkcellrenderer.c' || echo './'`pygtkcellrenderer.c
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include/python2.3
>-D_THREAD_SAFE -I/usr/local/include/atk-1.0
>-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
>-I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
>-I/usr/local/include/freetype2 -I/usr/local/include -O -pipe
>-march=pentiumpro -D_THREAD_SAFE -Wall -std=c9x -c pygtkcellrenderer.c
>-Wp,-MD,.deps/_gtk_la-pygtkcellrenderer.TPlo  -fPIC -DPIC -o
>.libs/_gtk_la-pygtkcellrenderer.o
>(cd . \
> && /usr/local/bin/python ../codegen/codegen.py \
>    --register ../pango-types.defs \
>    --register ../atk-types.defs \
>    --register gdk-types.defs \
>    --register gtk-types.defs \
>    --override gtk.override \
>    --prefix pygtk gtk.defs) > gen-gtk.c \
>&& cp gen-gtk.c gtk.c \
>&& rm -f gen-gtk.c
>Could not write method GtkTextIter.forward_find_char: No ArgType for
>'GtkTextCharPredicate'
>Could not write method GtkTextIter.backward_find_char: No ArgType for
>'GtkTextCharPredicate'
>Could not write method GtkAccelGroup.connect: No ArgType for
>'GClosure*'
>Could not write method GtkAccelGroup.connect_by_path: No ArgType for
>'GClosure*'
>Could not write method GtkAccelGroup.disconnect: No ArgType for
>'GClosure*'
>Could not write method GtkAccelGroup.find: No ArgType for
>'GtkAccelKey*'
>Could not write method GtkIMContextSimple.add_table: No ArgType for
>'guint16*'
>Could not write method GtkSettings.install_property: No ArgType for
>'GParamSpec*'
>Could not write method GtkSettings.install_property_parser: No ArgType
>for 'GParamSpec*'
>[skip]
>
>at the same time
>
>  
>
>>grep GtkTextCharPredicate /usr/X11R6/include/gtk-2.0/gtk/*
>>    
>>
>/usr/X11R6/include/gtk-2.0/gtk/gtktextiter.h:typedef gboolean (*
>GtkTextCharPredicate) (gunichar ch, gpointer user_data);
>/usr/X11R6/include/gtk-2.0/gtk/gtktextiter.h:
>GtkTextCharPredicate  pred,
>/usr/X11R6/include/gtk-2.0/gtk/gtktextiter.h:
>GtkTextCharPredicate  pred,
>
>and so on, e.g. every type mentioned is exists indeed. Could you
>advise the way to handle this problem? Thank you in advance.
>  
>
Thost are really just debugging messages indicating what functions are 
not wrapped.  The binding still builds, and the vast majority of 
functions are handled.

James.

-- 
Email: james at daa.com.au
WWW:   http://www.daa.com.au/~james/





More information about the freebsd-gnome mailing list