building gtkNode

Thu Aug 18 00:56:03 CEST 2005

I tried making the gtkNode contrib, but ran into problems.
The system is a Debian (Libranet). Below is some output.

uffe@REDACTED:~/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

uffe@REDACTED:~/dev/jungerl/lib/gtkNode$ echo $OTP_ROOT

(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
../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
../priv/gen/gtk_generated.h:311: `GTK_TYPE_ACTION' undeclared (first use
in this function)

Any ideas?


More information about the erlang-questions mailing list