Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2003 22:59:36 +0800
From:      James Henstridge <james@daa.com.au>
To:        Seva Gluschenko <gvs@demos.net>
Cc:        gnome@FreeBSD.org
Subject:   Re: bug in py-gtk-2.0?
Message-ID:  <3F76F758.7060308@daa.com.au>
In-Reply-To: <20030928163226.A56315@road.demos.su>
References:  <20030928163226.A56315@road.demos.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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@daa.com.au
WWW:   http://www.daa.com.au/~james/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F76F758.7060308>