Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gps on Ubuntu 8.04

30 views
Skip to first unread message

Rob Solomon

unread,
Jun 27, 2009, 11:29:18 AM6/27/09
to
I am trying to learn Ada and installed it on Ubuntu 8.04 thru
synaptic. When I try to launch gnat-gps I get the following error:

raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : glib-graphs.ads:352

and it does not load.

I tried finding glib-graphs.ads and cannot.

What's wrong here?

Thanks

Ludovic Brenta

unread,
Jun 27, 2009, 2:20:55 PM6/27/09
to
Rob Solomon wrote on comp.lang.ada:

That version of Ubuntu is known to have broken Ada packages. You
should upgrade to Debian :)

--
Ludovic Brenta.

anon

unread,
Jun 27, 2009, 4:46:28 PM6/27/09
to
Before installing a new version of Linux.

Try downloading a linux version of GNAT from Adacore ( libre.Adacore.com )
The libre version's compiled for standalone, install. Just unarchive, "./doinstal",
then finally adjust the "Path". You must also, add the icon to your system
menus. Deletion of this version is also simple, remove menus, and the GNAT
path from the system "PATH" and delete the gnat directory. No need synaptic
or other installer program.

I have had no problem with the "libre GNAT", while others non-libre versions
may require half to full OS updates.

Marc A. Criley

unread,
Jun 28, 2009, 10:00:43 AM6/28/09
to
Rob Solomon wrote:
> I am trying to learn Ada and installed it on Ubuntu 8.04 thru
> synaptic. When I try to launch gnat-gps I get the following error:
>
> raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : glib-graphs.ads:352
>
> and it does not load.

I've run the GNAT GPL 2008 and 2009 distributions on Ubuntu 8.04 with
only a single, quickly remedied, issue. You can get 2009 from the Libre
AdaCore site (https://libre.adacore.com/libre/download).

Once you've downloaded and installed, trying to start gps may crash. If
it does, go into the bin directory where you installed it, and in the
file "gps", which is a script, comment out the line:

LD_LIBRARY_PATH=$root/lib/gps:$LD_LIBRARY_PATH

It should run fine after that.

Marc A. Criley
McKae Technologies
www.mckae.com

0 new messages