comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: libgtkada2.14.2 on Ubuntu 10.04
Date: Thu, 23 Sep 2010 20:42:55 -0400
Date: 2010-09-23T20:42:55-04:00	[thread overview]
Message-ID: <nospam-DE433C.20425523092010@news.aioe.org> (raw)
In-Reply-To: 87eick8bti.fsf@ludovic-brenta.org

In article <87eick8bti.fsf@ludovic-brenta.org>,
 Ludovic Brenta <ludovic@ludovic-brenta.org> 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
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2010-09-24  0:42 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
2010-09-24  0:42   ` John B. Matthews [this message]
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