[gtkada] which version should i use ?
Thomas De Contes
d.l.tDeContes at free.fr
Sun Jan 17 17:21:31 CET 2010
hi :-)
+ gnatmake --version
GNATMAKE 4.3.0 20080203 (experimental) [trunk revision 132082]
Copyright (C) 1995-2007, Free Software Foundation, Inc.
+ port info gtk2
gtk2 @2.18.6 (x11)
i use to install gtkada with a script like http://dl.free.fr/dYjzwTx4t
with the more recent version
svn co http://svn.eu.adacore.com/anonsvn/Dev/trunk/GtkAda/
$DossierDedie/
it gives
gcc -c -gnatec=/Users/thomas/Documents/prgm/temporaire/gtkada/src/
gnat.adc -gnatec=/Users/thomas/Documents/prgm/temporaire/gtkada/src/
gnat.adc -gnatQ -O2 -gnatn -gnatws -fno-common -I- -gnatA /Users/
thomas/Documents/prgm/temporaire/gtkada/src/gtk-about_dialog.adb
/Users/thomas/Documents/prgm/temporaire/gtkada/src/gtk-
about_dialog.ads:231:04: pragma "Obsolescent" misplaced, must
immediately follow a declaration
/Users/thomas/Documents/prgm/temporaire/gtkada/src/gtk-
about_dialog.ads:235:04: pragma "Obsolescent" misplaced, must
immediately follow a declaration
gnatmake: "/Users/thomas/Documents/prgm/temporaire/gtkada/src/gtk-
about_dialog.adb" compilation error
make[1]: *** [ada] Error 4
make: *** [src] Error 2
+ exit 2
is it because my gnat is too old ?
when i try to search when gtk-about_dialog.adb was modified, i find
20090701, so
svn co -r "{20090701}" http://svn.eu.adacore.com/anonsvn/Dev/trunk/
GtkAda/ $DossierDedie/
all ada code compiles fine, but a little later it gives
gcc -c -g -O2 -I/Users/thomas/Documents/prgm/bin/autoinstall/macports/
include/gtk-2.0 -I/Users/thomas/Documents/prgm/bin/autoinstall/
macports/lib/gtk-2.0/include -I/Users/thomas/Documents/prgm/bin/
autoinstall/macports/include/atk-1.0 -I/Users/thomas/Documents/prgm/
bin/autoinstall/macports/include/cairo -I/Users/thomas/Documents/prgm/
bin/autoinstall/macports/include/pango-1.0 -I/Users/thomas/Documents/
prgm/bin/autoinstall/macports/include -I/Users/thomas/Documents/prgm/
bin/autoinstall/macports/include/glib-2.0 -I/Users/thomas/Documents/
prgm/bin/autoinstall/macports/lib/glib-2.0/include -I/Users/thomas/
Documents/prgm/bin/autoinstall/macports/include/pixman-1 -I/Users/
thomas/Documents/prgm/bin/autoinstall/macports/include/freetype2 -I/
Users/thomas/Documents/prgm/bin/autoinstall/macports/include/
libpng12 -fno-common gtkitementry.c -o obj/gtkitementry.o
gtkitementry.c: In function 'gtk_entry_real_insert_text':
gtkitementry.c:696: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:696: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:698: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:698: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:700: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:701: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:704: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:705: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:705: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:706: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:709: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:710: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:710: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:712: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:712: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:721: error: 'GtkEntry' has no member named 'text_size'
gtkitementry.c:726: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:729: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:733: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c: In function 'gtk_entry_real_delete_text':
gtkitementry.c:766: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:768: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c: In function 'gtk_entry_retrieve_surrounding_cb':
gtkitementry.c:1031: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c: In function 'gtk_entry_create_layout':
gtkitementry.c:1232: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:1241: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:1275: error: 'GtkEntry' has no member named 'n_bytes'
make[2]: *** [obj/gtkitementry.o] Error 1
make[1]: *** [gtkextra] Error 2
make: *** [src] Error 2
+ exit 2
it's the same error tha i have with
svn co -r "{20080621}" http://svn.eu.adacore.com/anonsvn/Dev/trunk/
GtkAda/ $DossierDedie/
which worked the last time i tried it
do someone have an idea about that, please ?
--
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/
More information about the gtkada
mailing list