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!news3.google.com!feeder.news-service.com!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: libgtkada2.14.2 on Ubuntu 10.04 Date: Thu, 23 Sep 2010 22:06:01 +0200 Organization: A noiseless patient Spider Message-ID: <87eick8bti.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Thu, 23 Sep 2010 20:06:00 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="SY0Arv91K92l1wpvhwAs2g"; logging-data="27168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TBrfDYvemrt8M037LNtcA" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:xCksCNu4ZGzOFS+mX3bQFp/8cFY= sha1:Q2Sp6ztSMI4zmOmObPrmc7nafvk= Xref: g2news1.google.com comp.lang.ada:14212 Date: 2010-09-23T22:06:01+02:00 List-Id: 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 > > 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. Another option, of course, is to ditch the man in the middle (Ubuntu) and go straight to the source of the correct package: Debian. -- Ludovic Brenta.