comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: libgtkada2.14.2 on Ubuntu 10.04
Date: Thu, 23 Sep 2010 22:06:01 +0200
Date: 2010-09-23T22:06:01+02:00	[thread overview]
Message-ID: <87eick8bti.fsf@ludovic-brenta.org> (raw)
In-Reply-To: nospam-B3E1A9.14392923092010@news.aioe.org

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.



  reply	other threads:[~2010-09-23 20:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 18:39 libgtkada2.14.2 on Ubuntu 10.04 John B. Matthews
2010-09-23 20:06 ` Ludovic Brenta [this message]
2010-09-24  0:42   ` John B. Matthews
2010-09-24  6:08     ` Ludovic Brenta
2010-09-25 19:20       ` John B. Matthews
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox