building gtkNode

Mats Cronqvist <>
Thu Aug 18 10:06:33 CEST 2005


   i think the sane value of $OTP_ROOT on debian is /usr/local. is it not?

   what version of gtk do you have?
pkg-config --modversion gtk+-2.0
2.6.8

   mats

 wrote:
> I tried making the gtkNode contrib, but ran into problems.
> The system is a Debian (Libranet). Below is some output.
> 
> :~/dev/jungerl/lib/gtkNode$ pkg-config --cflags libglade-2.0
> -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/pango-1.0
> -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include
> 
> :~/dev/jungerl/lib/gtkNode$ echo $OTP_ROOT
> /usr/local
> 
> (which I don't think is "sane", to quote the README, but I set
> it like that instead of changing Makefile)
> 
> 
> make[1]: Entering directory `/home/uffe/dev/jungerl/lib/gtkNode/src'
> gcc -g -c -o ../priv/obj/gtkNode_gen.o gtkNode_gen.c -I../include
> -I../priv/gen -I/usr/local/lib/erlang/lib/erl_interface-3.5.4/include
> `pkg-config --cflags libglade-2.0`
> In file included from gtkNode_gen.c:2:
> ../priv/gen/gtk_generated.h: In function `Gtk_accelerator_get_label':
> ../priv/gen/gtk_generated.h:260: warning: assignment makes pointer from
> integer without a cast
> ../priv/gen/gtk_generated.h: In function `Gtk_action_activate':
> ../priv/gen/gtk_generated.h:306: `GtkAction' undeclared (first use in this
> function)
> ../priv/gen/gtk_generated.h:306: (Each undeclared identifier is reported
> only once
> ../priv/gen/gtk_generated.h:306: for each function it appears in.)
> ../priv/gen/gtk_generated.h:306: `object' undeclared (first use in this
> function)
> ../priv/gen/gtk_generated.h:311: `GTK_TYPE_ACTION' undeclared (first use
> in this function)
> 
> 
> Any ideas?
> 
> /Uffe
> 



More information about the erlang-questions mailing list