[gtkada] problems installing gtkada (gtk at a customised place)

Thomas De Contes d.l.tDeContes at free.fr
Thu Nov 4 04:06:31 CET 2004


Le jeudi, 28 oct 2004, à 17:45 Europe/Paris, Thomas De Contes a écrit :

>
> Le jeudi, 28 oct 2004, à 17:42 Europe/Paris, Nicolas Setton a écrit :
>
>> On Oct 28, 2004, at 17:40, Thomas De Contes wrote:
>>
>>> i don't find how to tell gtkada where is gtk
>>
>> gtkada relies on pkg-config to find gtk.
>
> ah ?
> but i've installed pkg-config, at the same time and at the same place, 
> than gtk, with darwinports
>
>> You should be able to select the gtk+ you want by playing with 
>> PKG_CONFIG_PATH.
>
> i'll try it, thank you :-)

well, i just had to do
setenv PATH /Users/thomas/Public/essais/gtk/darwinports/res/bin:$PATH
and it found pkg-config, and then gtk :-)


so, i did that :

setenv PATH /Users/thomas/Public/essais/gtk/darwinports/res/bin:$PATH
setenv PKG_CONFIG_PATH 
/Users/thomas/Public/essais/gtk/darwinports/res/lib/pkgconfig/
./configure --prefix=/Users/thomas/Public/essais/gtk/darwinports/res 
--with-GL-prefix=/usr/X11R6
make install

and now the ./configure is ok :-))
but i got that :

gcc -c -g -O2 -fno-common 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include/gtk-2.0 
-I/Users/thomas/Public/essais/gtk/darwinports/res/lib/gtk-2.0/include 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include/atk-1.0 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include/pango-1.0 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include/freetype2 
-I/usr/X11R6/include 
-I/Users/thomas/Public/essais/gtk/darwinports/res/include/glib-2.0 
-I/Users/thomas/Public/essais/gtk/darwinports/res/lib/glib-2.0/include  
  -fPIC gtkplot3d.c
gtkplot3d.c:2096: error: conflicting types for 
'gtk_plot3d_axis_set_scale'
gtkplot3d.h:239: error: previous declaration of 
'gtk_plot3d_axis_set_scale' was here
gtkplot3d.c:2096: error: conflicting types for 
'gtk_plot3d_axis_set_scale'
gtkplot3d.h:239: error: previous declaration of 
'gtk_plot3d_axis_set_scale' was here
gtkplot3d.c:2105: error: conflicting types for 
'gtk_plot3d_axis_get_scale'
gtkplot3d.h:241: error: previous declaration of 
'gtk_plot3d_axis_get_scale' was here
gtkplot3d.c:2105: error: conflicting types for 
'gtk_plot3d_axis_get_scale'
gtkplot3d.h:241: error: previous declaration of 
'gtk_plot3d_axis_get_scale' was here
make[2]: *** [gtkplot3d.o] Error 1
make[1]: *** [extra] Error 2
make: *** [install] Error 2


any idea ??




More information about the gtkada mailing list