building gtkNode

Ulf Wiger ulf@REDACTED
Fri Aug 19 00:13:24 CEST 2005


Den 2005-08-18 10:06:33 skrev Mats Cronqvist <mats.cronqvist@REDACTED>:

>    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

Mine is 2.2.2

/Uffe


>
>    mats
>
> ulf@REDACTED wrote:
>> 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
>> -I/usr/lib/glib-2.0/include
>>  uffe@REDACTED:~/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
>>



-- 
Ulf Wiger



More information about the erlang-questions mailing list