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!news4.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!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: Sat, 08 May 2010 21:55:34 +0200 Organization: A noiseless patient Spider Message-ID: <87632yyxqh.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 8 May 2010 19:55:34 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="yFGFjXWDRII/0KbrIhbhvw"; logging-data="3419"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EW5GiixpSJToGHGJMS0Lr" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:rLpU8xatTj8tvxG5R4H5EKb7kU8= sha1:MNkJj1tDZo8tGBQl7e7DfNX8wi4= Xref: g2news2.google.com comp.lang.ada:11416 Date: 2010-05-08T21:55:34+02:00 List-Id: resander writes: > Yesterday afternoon I installed into /usr/local and found that GPS > could be invoked from the GUI menu on Ubuntu 10.04. I then closed the > system. > This morning (Saturday) I found that about half the functions on the > Ubuntu menu had stopped working, for example all items on the Places > menu (generally file and directory inspection functions), Software > Sources, Synaptic Manager, Update Manager, system Monitor and more. I > invoked some of these from the command line and always got error > 'cannot find libstdc.6.so version so-and-so in usr/local/lib'. > Even the apt functions got clobbered by the same condition, so I had > no way of reinstalling any package. Had to reinstall Ubuntu 10.04. > The install of GNAT GPL into a /usr/local that I did as last thing > yesterday is a likely culprit. but I am not pointing a finger. I'm quite certain there was a simpler way to address the problem. I do not think that installing GNAT in /usr/local was the culprit; rather, the culprit might have been a clobbered system-wide LD_LIBRARY_PATH (as opposed to a user-specific one) containing an old version of libstdc++.so.6. > I am using the codeblocks IDE (C/C++, but no Ada) which provides > updates via the Universe repositories in Ubuntu. To get updates a user > only puts repository details into etc/apt/source.list and sets > authentication data in a keyring. Then the updates arrive as normal > Ubuntu updates. An update takes a minute or two and then a user can > reenter the updated codeblocks IDE without having to lift a finger. > Very simple, convenient and foolproof. > > Can GNAT GPL with GPS be updated in a similar fashion for Ubuntu (and > maybe others too)? Most users from the Windows world, myself included, > expect this operation to be simple. You are getting near the conclusion and solution that I gave you already. If you can reinstall Ubuntu, you might as well install Debian which is the source of Ubuntu. Then install the package gnat-gps and there you go. As I said earlier: no fuss, no muss. It works right out of the box. -- Ludovic Brenta.