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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3bff6309ef5ab3f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!b7g2000yqk.googlegroups.com!not-for-mail From: resander Newsgroups: comp.lang.ada Subject: Re: How to fix 'Could not locate executable on path: gnatmake' Date: Mon, 10 May 2010 07:47:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <26aeef42-1846-433e-a7de-5bfb6a35407d@b7g2000yqk.googlegroups.com> References: <82ljbvkkx0.fsf@stephe-leake.org> <1d2ff9bc-9729-4c4f-a34c-de3c9258cd23@b18g2000yqb.googlegroups.com> <4275ffb0-c23f-4201-a8ce-651746999763@e35g2000yqm.googlegroups.com> <87632yyxqh.fsf@ludovic-brenta.org> <87vdaxxm38.fsf@ludovic-brenta.org> NNTP-Posting-Host: 82.5.106.54 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1273502866 29124 127.0.0.1 (10 May 2010 14:47:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 May 2010 14:47:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b7g2000yqk.googlegroups.com; posting-host=82.5.106.54; posting-account=5kIDUAkAAACEMLy16tM5OtzZtznE-9-5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11444 Date: 2010-05-10T07:47:46-07:00 List-Id: On May 9, 2:04=A0pm, Ludovic Brenta wrote: > resander writes: > > It has been mentioned that installing Debian will solve the problem. I > > have seen instructions in > >http://lists.debian.org/debian-ada/2010/02/msg00003.html. =A0Assuming > > these are the ones that apply the task is way too complicated and > > require in-depth knowledge of package management. Even after two years > > of daily use of Ubuntu I don't have this level of knowledge and have > > never needed it. > > That's only because these instructions are for those who want to keep > their main system (in your case Ubuntu) untouched. > > > As a fairly-normal user I expect to be able to install GPS with a > > single click and to be able to run it from a GUI menu. Installing into > > /usr/gnat is coming near, but the end product only runs from the > > command line. If there is a simpler way please let me know and I may > > be able to do it. > > Have you tried to look for the package gnat-gps in Synaptic? =A0What > version does Ubuntu have? =A0The latest is 4.3-5; if Ubuntu has anything > older, it is lagging behind Debian testing. =A0If it lags behind you have > three options to choose from, in order of growing difficulty: > > - live with it (use the older version) > - delete Ubuntu and install Debian from scratch (like I said, if you are > =A0 skilled enough to reinstall Ubuntu, then you are skilled enough to > =A0 install Debian) > - install Debian in a chroot, leaving your Ubuntu intact. =A0That's, > =A0 indeed, a little more complex. > > Do not forget to also install the packages "gnat" and "gprbuild". > > > Here are the instructions for getting automatic updates for > > codeblocks: > > > =A0debhttp://apt.jenslody.de/any main =A0 =A0 =A0 to /etc/apt/sources.l= ist > > =A0sudo apt-get install jens-lody-debian-keyring > > > Two lines only - that is simple for a user, no fuss, no muss here too! > > With Debian you don't even need that. =A0GNAT and GPS are both in the > official Debian repositories. =A0You just get them with Synaptic like > everything else. > > -- > Ludovic Brenta. Many thanks Ludovic, GNAT-GPS 4.3.5 is in synaptic of Ubuntu 10.04. The following parts are also pulled in: ada ref manual gnat gnat-4.4 gnat-gps-doc libgnat-4.4 libgnatprj4.4 libgnatvsn4.4 libgtkada2.14.2 libtemplates-parser11.5 and it works from the GUI menu too. Q1. Are the versions in the list above the most recent? Q2. Have used GCC from the codeblocks IDE for C for the last two years. I obtained that from the build-essentials package via Ubuntu's Synaptic. I recently learned that there is a GCC that also supports Ada. Is that the same GCC that I have been using. If not, how are they related? Many thanks again.