From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f26a27628ab2a2fe,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.226.10 with SMTP id ro10mr23602661pbc.6.1329954299848; Wed, 22 Feb 2012 15:44:59 -0800 (PST) Path: wr5ni57020pbc.0!nntp.google.com!news1.google.com!postnews.google.com!e27g2000vbu.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: help building ada with glade Date: Wed, 22 Feb 2012 15:43:07 -0800 (PST) Organization: http://groups.google.com Message-ID: <66ce64dd-1428-4db1-8d0e-a4ba68f9f09d@e27g2000vbu.googlegroups.com> NNTP-Posting-Host: 69.159.21.71 Mime-Version: 1.0 X-Trace: posting.google.com 1329954299 7946 127.0.0.1 (22 Feb 2012 23:44:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Feb 2012 23:44:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e27g2000vbu.googlegroups.com; posting-host=69.159.21.71; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUARENKC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-02-22T15:43:07-08:00 List-Id: I am learning ada gtk (ver 2.14 ). I am still pretty clueless but I can follow along with the makefiles in the examples folder, they are also building fine. In the testgtk folder there are some examples that use glade, I can't build them. I actually can't build using the makefile in this folder or the folder above it. Here are the results of these typing make in build/gtkada-gpl-2.18.0-src make -C src make[1]: Entering directory `/media/fast60/Programming/ada/AdaCore/ GtkAda/build/gtkada-gpl-2.18.0-src/src' mkdir -p lib-obj gnatmake -Pgtkada_src -u -fPIC -XBUILD=Production -XOPENGL=True - XGNOME=True -XGLADE=True gcc-4.4 -c -gnatec=/media/fast60/Programming/ada/AdaCore/GtkAda/build/ gtkada-gpl-2.18.0-src/src/gnat.adc -gnatec=/media/fast60/Programming/ ada/AdaCore/GtkAda/build/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatQ -O2 -gnatn -gnatws -fPIC -I- -gnatA /media/fast60/Programming/ada/AdaCore/ GtkAda/build/gtkada-gpl-2.18.0-src/src/gtk-about_dialog.adb gtk-about_dialog.ads:231:04: pragma "Obsolescent" misplaced, must immediately follow a declaration gtk-about_dialog.ads:235:04: pragma "Obsolescent" misplaced, must immediately follow a declaration gnatmake: "/media/fast60/Programming/ada/AdaCore/GtkAda/build/gtkada- gpl-2.18.0-src/src/gtk-about_dialog.adb" compilation error make[1]: *** [ada] Error 4 make[1]: Leaving directory `/media/fast60/Programming/ada/AdaCore/ GtkAda/build/gtkada-gpl-2.18.0-src/src' make: *** [src] Error 2 typing make in gtkada-gpl-2.18.0-src/examples/gtk_examples gnatprep -r -c -DHAVE_GL=True -DWIN32=False \ opengl/view_gl.gpb opengl/view_gl.adb gnatprep: unable to create output file "opengl/view_gl.adb" make: *** [opengl/view_gl.adb] Error 4 I tried to use the same commands used in the makefiles that worked but ended up with this error when typing this: gnatmake -gnata -gnaty -gnatwu create_builder `gtkada-config` gcc-4.4 -c -gnata -gnaty -gnatwu -I/usr/share/ada/adainclude/gtkada2 create_builder.adb create_builder.adb:34:06: file "gtk-builder.ads" not found create_builder.adb:43:06: file "common.ads" not found gnatmake: "create_builder.adb" compilation error I have these packages installed: libgnomeada2 libgtkada-glade libgtkada I am on Mint linux now, (based on Ubuntu) Sorry for this very long email, if anyone has a few pointers for me or could point me to some documentation that would be really great- Patrick