[gtkada] GTKAda install problem on RH 8.0
David Mirfin
dmirfin at qsf.com
Sat Apr 24 18:00:11 CEST 2004
I am still having problems installing GtkAda 2.2.1. I have now (after lots of
"fun") managed to install GTK+ 2.4.0 on my RedHat 8.0 system but whilst making
GtkAda, compilation of misc_extra.c fails as follows:
[root at localhost GtkAda-2.2.1]# make install
make -C src install
make[1]: Entering directory `/root/GNAT/GtkAda-2.2.1/src'
mkdir -p lib-obj
chmod +x gate gtkada-config
make -C gtkextra
make[2]: Entering directory `/root/GNAT/GtkAda-2.2.1/src/gtkextra'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/GNAT/GtkAda-2.2.1/src/gtkextra'
gnatprep -DGETTEXT_INTL=False \
-DHAVE_GETTEXT=True gtkada-intl.gpb gtkada-intl.adb
gcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtkada-intl.adb
cd lib-obj; /usr/bin/gcc -c -g -O2 -Wall -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I.. -fPIC ../misc_extra.c
../misc_extra.c: In function `ada_gtk_combo_box_get_button':
../misc_extra.c:165: structure has no member named `button'
../misc_extra.c: In function `ada_gtk_combo_box_get_arrow':
../misc_extra.c:170: structure has no member named `arrow'
../misc_extra.c: In function `ada_gtk_combo_box_get_frame':
../misc_extra.c:175: structure has no member named `frame'
make[1]: *** [lib-obj/misc_extra.o] Error 1
make[1]: Leaving directory `/root/GNAT/GtkAda-2.2.1/src'
make: *** [install] Error 2
Does anyone have any suggestions?
Quoting Arnaud Charlet <charlet at ACT-Europe.FR>:
> You need to install first Gtk+ 2.2.x with GtkAda 2.2
> Then you need to do CC=/usr/bin/gcc ./configure instead of ./configure
>
> Arno
More information about the gtkada
mailing list