comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Gnattest under Debian/Ubuntu Linux/Linux Lint
Date: Fri, 08 Feb 2013 18:04:02 +0000
Date: 2013-02-08T18:04:02+00:00	[thread overview]
Message-ID: <lya9resmwd.fsf@pushface.org> (raw)
In-Reply-To: 1ab3e76d-0ebd-472c-a279-eceeb03018d7@googlegroups.com

ziotom78@gmail.com writes:

>   I am trying to have GNAT installed on my Linux Mint 14 (Nadia)
> computer, and I have some problems in determining how to install
> "gnattest". I have verified it is *not* in any of the following
> packages:
> - gnat-4.6
> - gnat-4.6-base
> - gnat-gps
> - gnat-gps-common
> - libaunit2-dev
> - libaunit3
> - asis-programs
>
> What puzzles me is that in AdaCore's repositories its source code
> belongs to "gps":
>
> http://viewvc.libre.adacore.com/viewvc.cgi/Public/trunk/gps/gnattest/
>
> so I assumed that installing "gnat-gps" would've been enough to have
> "gnattest" as well. Is it true that this tool is not available in
> Debian packages? (This would not be the first weird thing with Gnat's
> packages in Debian...)

It's a synchronisation problem.

gnattest is an ASIS[1][2][3] tool (it has to understand the program
structure).

I'm pretty sure that the only ASIS sources we GNAT users get to see are
those in the GNAT GPL sources on libre.adacore.com.

gnattest first appeared in GNAT GPL 2012 ASIS, and Debian is (I believe)
currently using the GNAT GPL 2010 version.

> If "gnattest" is really missing, is there any quick way to install it
> instead of uninstalling Debian's Gnat and downloading AdaCore's? Last
> time I tried under Ubuntu x64 I had a few problems because of some
> inconsistencies in the directory where libraries should be installed,
> and I would therefore like to stick with Debian packages if possible.

Only _some_ inconsistencies?! When you install GNAT GPL, you can choose
the top-level directory, and then you just need to make sure $prefix/bin
is on your path, which will keep things apart; but I agree, you really
don't want to mix libraries.

I wonder how much trouble it'd be to get gnattest to build under Debian?

[1] http://www.sigada.org/WG/asiswg/
[2] http://sourceforge.net/projects/gnat-asis/ (not up-to-date)
[3] http://forward-in-code.blogspot.co.uk/2011/10/building-asis.html



  reply	other threads:[~2013-02-08 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 16:50 Gnattest under Debian/Ubuntu Linux/Linux Lint ziotom78
2013-02-08 18:04 ` Simon Wright [this message]
2013-02-08 19:14   ` Ludovic Brenta
2013-02-08 20:53 ` ziotom78
2013-02-08 22:45 ` ziotom78
2013-03-12 10:40   ` Justin Time
replies disabled

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