From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b2e3c95be583034a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Ada on Linux Date: Wed, 29 Aug 2007 21:36:03 +0200 Message-ID: <5jm054F95j3U1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Trace: individual.net Ki2i8LFmwOM3OGdi+NlK3QHUOQITeKtaGrM2b3nlnMf1tePYA= Cancel-Lock: sha1:ZRKcLB+c2G36VV/W69cnqTroIk0= User-Agent: KNode/0.10.5 Xref: g2news2.google.com comp.lang.ada:1595 Date: 2007-08-29T21:36:03+02:00 List-Id: Jean-Pierre Rosen wrote: > Paul a écrit : >> So my question is - does anyone have a simple cookbook/howto to set up a >> GNAT/Glade compilation system on Linux? Ada code I can write - >> understanding Linux is driving me nuts. Is there a 'standard' directory >> structure for location of library/include files in Linux? I'd be >> grateful for some assistance. None of the Linux manuals I've read so far >> have been of >> much help. Ping me off list if you prefer. >> > I recently reinstalled GtkAda, and I agree that it is not simple unless > you happen to have all the pieces in place... Uhm, I have installed several GtkAda versions many times and my experience has been quite pleasant: > > Here is what I did: > > - Download all the required packages from AdaCore (Gtk+, glib, cairo, > atk...) Just download latest Gnat and Gtkada. In modern distros I guess you don't need anything else (it's already in your system). It certainly isn't needed in *ubuntu. > - Install as explained in the INSTALL files, but always add the option > "--prefix=/usr/" to the "make" command line (be sure to be root). > Otherwise, it installs in /usr/local/, and you'll have a hard time > adjusting various paths... I have never changed the default and run into problems? Just ensure gnat is in the path, ./configure and ./make install > - Note that there is an order for installing the various pieces, but I > don't know what it is (nor did I find any information about that). When > something failed to install, I just went on installing the rest, and > retried later... I eventually installed everything within a finite > number of iterations!