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,b835c51e959b1e0a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.ada Subject: Re: libgtkada2.14.2 on Ubuntu 10.04 Date: Thu, 23 Sep 2010 20:42:55 -0400 Organization: The Wasteland Message-ID: References: <87eick8bti.fsf@ludovic-brenta.org> NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: g2news1.google.com comp.lang.ada:14216 Date: 2010-09-23T20:42:55-04:00 List-Id: In article <87eick8bti.fsf@ludovic-brenta.org>, Ludovic Brenta wrote: > John B. Matthews writes on comp.lang.ada: > > In preparation for porting a GtkAda application to Linux using > > libgtkada2.14.2-1, I tried a simple example [1] on Ubuntu 10.04.1. > > > > I was surprised to see this > > > > $ gtkada-config --cflags > > -aI/usr/share/ada/adainclude/gtkada2.14.2 \ > > -aO/usr/lib/ada/adalib/gtkada2.14.2 > > > > when the actual locations are these > > > > /usr/share/ada/adainclude/gtkada2 > > /usr/share/ada/adainclude/gtkada2 Oops, I meant "/usr/lib/ada/adalib/gtkada2". > > Now that I look, it's been fixed [2], but I'm not sure of the best > > way to resolve the problem: add another repository or just edit > > gtkada-config. > > Is it impractical for you to use GNAT project files? The Debian > compiler is patched so that > > with "gtkada"; > project Example is > for Main use ("example"); > end Example; > > will work out of the box; see the file > /usr/share/ada/adainclude/gtkada.gpr. Excellent! It works well; thanks. Am I correct that 'with "gtkada"' refers to /usr/share/ada/adainclude/gtkada.gpr itself? with "gtkada2"; project lady is for Object_Dir use "obj"; for Exec_Dir use "."; for Main use ("main"); end lady; > Another option, of course, is to ditch the man in the middle (Ubuntu) > and go straight to the source of the correct package: Debian. Tempting. -- John B. Matthews trashgod at gmail dot com