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 autolearn=ham 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-7-bit Path: g2news2.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: How to fix 'Could not locate executable on path: gnatmake' Date: Sun, 09 May 2010 15:04:43 +0200 Organization: A noiseless patient Spider Message-ID: <87vdaxxm38.fsf@ludovic-brenta.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 9 May 2010 13:04:44 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="Nqc2OQHCFD1iR1SX2NVBVw"; logging-data="26362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UJcOsQWrN73cftY6/76wf" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:O6UM0n/JZcYLO0lR1G7BhNhfP7Q= sha1:Cv/kgBIoFl5Pv/xgCLmpkeHngrk= Xref: g2news2.google.com comp.lang.ada:11423 Date: 2010-05-09T15:04:43+02:00 List-Id: 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. Assuming > 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? What version does Ubuntu have? The latest is 4.3-5; if Ubuntu has anything older, it is lagging behind Debian testing. If 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 skilled enough to reinstall Ubuntu, then you are skilled enough to install Debian) - install Debian in a chroot, leaving your Ubuntu intact. That's, 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: > > deb http://apt.jenslody.de/ any main to /etc/apt/sources.list > sudo 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. GNAT and GPS are both in the official Debian repositories. You just get them with Synaptic like everything else. -- Ludovic Brenta.