From: resander <kresander@yahoo.com>
Subject: Re: How to fix 'Could not locate executable on path: gnatmake'
Date: Fri, 7 May 2010 09:50:46 -0700 (PDT)
Date: 2010-05-07T09:50:46-07:00 [thread overview]
Message-ID: <73639c63-c7e1-4cff-a25e-bfe9573bb375@j33g2000yqn.googlegroups.com> (raw)
In-Reply-To: 87r5lnzpb3.fsf@ludovic-brenta.org
On May 7, 4:47 pm, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> Gautier write-only writes on comp.lang.ada:
>
> > Ludovic Brenta wrote:
> > [...]
> >> Or, simply upgrade to Debian :)
>
> > I knew it! It had to happen!
>
> That's because each time I see someone with $PATH or similar
> installation problems, I just smile. For me, everything works right out
> of the box. No fuss, no muss.
>
> You made me smile, too :)
>
> --
> Ludovic Brenta.
My addition to the end of the bashrc startup file is:
# the line below is for GNAT GPL Ada
PATH=/usr/gnat/bin:$PATH; export PATH
After execution of bashrc on entry to ken (where I want to develop
programs) the PATH is:
/usr/gnat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
bin:/usr/games
Compiler works when I start GPS from the command line (as Ludovic
Brenta Georg Bauhaus predicted), and again as I mentioned before it
does not work when invoked from the gui menu.
BUT
I have just installed GNAP GPL in usr/local and found that GPS
compilation works when GPS is invoked from the gui menu. I would have
expected this to have failed in the same way as above.
So I can just delete the /usr/gnat install directory and remember to
always install into /usr/local and that would be the end of the
problem, but I would like to understand this better.
The GNAT content of /usr/local/bin and /usr/gnat/bin are identical
after installation and yet only one worked.
Could it be that GPS code has the path /usr/local/bin hardwired or is /
usr/local/bin special in some other way?
next prev parent reply other threads:[~2010-05-07 16:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 8:33 How to fix 'Could not locate executable on path: gnatmake' resander
2010-05-07 9:49 ` Ludovic Brenta
2010-05-07 11:40 ` Gautier write-only
2010-05-07 15:47 ` Ludovic Brenta
2010-05-07 16:50 ` resander [this message]
2010-05-07 17:42 ` Ludovic Brenta
2010-05-07 11:43 ` Georg Bauhaus
2010-05-07 10:02 ` Dmitry A. Kazakov
2010-05-08 5:43 ` Stephen Leake
2010-05-08 16:25 ` Britt Snodgrass
2010-05-08 18:19 ` resander
2010-05-08 19:55 ` Ludovic Brenta
2010-05-09 10:59 ` resander
2010-05-09 13:04 ` Ludovic Brenta
2010-05-10 14:47 ` resander
2010-05-10 14:55 ` Ludovic Brenta
2010-05-08 18:24 ` resander
2010-05-07 13:05 ` Harry Tucker
2010-05-07 13:09 ` Harry Tucker
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox