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: a07f3367d7,46825ad1dc67a573 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.189.78 with SMTP id dd14mr4170593qab.0.1360363547868; Fri, 08 Feb 2013 14:45:47 -0800 (PST) X-Received: by 10.49.75.195 with SMTP id e3mr612946qew.24.1360363547844; Fri, 08 Feb 2013 14:45:47 -0800 (PST) Path: k2ni21154qap.0!nntp.google.com!p13no3521454qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 8 Feb 2013 14:45:47 -0800 (PST) In-Reply-To: <1ab3e76d-0ebd-472c-a279-eceeb03018d7@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.34.15.254; posting-account=uPViEgkAAACC04vaTYL5Kyk76brV1MA_ NNTP-Posting-Host: 93.34.15.254 References: <1ab3e76d-0ebd-472c-a279-eceeb03018d7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0529b394-0d5d-46ee-bcf2-9de351c16f89@googlegroups.com> Subject: Re: Gnattest under Debian/Ubuntu Linux/Linux Lint From: ziotom78@gmail.com Injection-Date: Fri, 08 Feb 2013 22:45:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-02-08T14:45:47-08:00 List-Id: Hi again, It turns out it was easier than I expected. Basically, after having downl= oaded the tar file from http://libre.adacore.com/download/, I compiled and = installed gnatgpl into /usr/gnat (the default choice), I put the following = file into /etc/profile.d/gnat.sh: #!/bin/sh export PATH=3D/usr/gnat/bin:$PATH export LD_LIBRARY_PATH=3D/usr/gnat/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRAR= Y_PATH export LIBRARY_PATH=3D/usr/gnat/lib:/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH export ADA_PROJECT_PATH=3D/usr/gnat/lib/gnat (Avoiding the reference to /usr/lib/x86_64-linux-gnu leads to a weird behav= ior, as it will make gcc crash at link time because it is not able to find = crt1.o -- fortunately I already knew the solution to this problem. The othe= r definitions are pretty standard stuff.) After sourcing the file (with ". /etc/profile.d/gnat.sh"), I was able to co= mpile AUnit, GnatColl, Florist, AUnit, XmlAda, and GtkAda quite easily (the= latter required to remove one #include instruction which made GLib complai= n). Everything seems to work well now, and I finally have an usable "gnattest".= (Only a minor nuisance: GPS does not look very nice, perhaps the Gtk+ vers= ion it links to is older than the one used by the gnat-gps package. Anyway,= it seems to be fully functional.) I am writing this here so perhaps it'll be of some use for somebody else in= my situation. Cheers, Maurizio.