[Anjuta-list] 2.0.2 build fails: "too few arguments to function 'glade_app_command_paste'"



The subject pretty much says it all.  I'm trying to build anjuta 2.0.2 with
the glade plugin.  But the build fails on plugins/glade/plugin.c:

 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/stow/glade3/include/libgladeui-1.0/libgladeui
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
-I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-I../.. -O0 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-Wparentheses -Wpointer-arith -g -O2 -MT plugin.lo -MD -MP -MF
.deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
plugin.c: In function 'on_paste_activated':
plugin.c:160: error: too few arguments to function 'glade_app_command_paste'
make[3]: *** [plugin.lo] Error 1

glade-3 isn't available as a package in Debian AFAICT, so I built and
installed a local copy under /usr/local.  But I also still have
libglade2-dev installed, because some other packages depend on it.  Might
that be the source of the trouble?  pkg-config says:

$ pkg-config --list-all | grep glade
glade-3               glade-3 - Glade Interface Designer
glade-sharp-2.0       Glade - Glade
libglade-2.0          Libglade - a library for dynamically loading GLADE
interface files
libgladeui-1.0        libgladeui - Libraries for embedding Glade in
applications.
$ pkg-config --cflags glade-3

$ pkg-config --libs glade-3

$ 

Can someone tell me what I'm doing wrong?  Any help would be much
appreciated.

Thanks,
Andrew.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]