comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Migrating Ada complier and programs from Windows to LInux
Date: Mon, 4 Apr 2016 09:46:52 -0700
Date: 2016-04-04T09:46:52-07:00	[thread overview]
Message-ID: <ndu5jq$fsi$2@dont-email.me> (raw)
In-Reply-To: <570262dc$0$4107$e4fe514c@news.kpn.nl>

On 04/04/2016 05:44 AM, ldries46 wrote:
> I want to migrate some of my programs from windows to Linux. Therefore I tried
> to install GNAT Programming Studio on Linux (XUbuntu).

How did you do this? The normal way to do this on a Debian-derived Linux
distribution such as (X)Ubuntu is to install GNAT, GPS, and gprbuild through
your "software-manager" or "package-manager" program, possibly Synaptic. You
might also use the command line

sudo apt-get install gnat gprbuild

Either way, this will install a recent version of FSF GNAT with everything in
the right place, and everything should work fine.

> I do encounter several problems:
> 1. I can only in the .gpr files direct path for dource directories. With
> relative path the files in my directories are not recognized apart of the
> project This where the with GtkAda delivered gtkada.gpr uses  relative path.
> 2. When building a very simple program I encounter several errors in the
> building phase with files not found (.so files) and and therefore other error
> probably depemdent on these files.
> 
> I suspect that there is somthing wrong with one or more Path variables but
> cannot find which variables and what the variables should be

I've never encountered your problem 1., but 2. sounds like a known issue using
AdaCore versions of GNAT on Debian-based Linux. AdaCore's GNAT, IIRC, is
developed for Red Hat Linux, which puts some libraries in different locations
from Debian. This results in AdaCore GNAT looking for things in places where
they aren't. The simple solution to this is to use the FSF GNAT provided by
Debian; another is to put links in the places AdaCore GNAT expects things that
link to where they actually are in Debian.

-- 
Jeff Carter
"Hold your temper. Count ten.... Now let 'er go.
You got a good aim."
Never Give a Sucker an Even Break
105


  reply	other threads:[~2016-04-04 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04 12:44 Migrating Ada complier and programs from Windows to LInux ldries46
2016-04-04 16:46 ` Jeffrey R. Carter [this message]
2016-04-04 17:51 ` Dmitry A. Kazakov
2016-04-05 10:36   ` ldries46
2016-04-05 12:59     ` Dmitry A. Kazakov
2016-04-05 15:22       ` ldries46
2016-04-05 15:45         ` ldries46
2016-04-05 15:51         ` Dmitry A. Kazakov
2016-04-07  9:18           ` vincent.diemunsch
2016-04-07  9:37             ` Dmitry A. Kazakov
replies disabled

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