comp.lang.ada
 help / color / mirror / Atom feed
From: Harry Tucker <harry.tucker@sbcglobal.net>
Subject: Re: How to fix 'Could not locate executable on path: gnatmake'
Date: Fri, 7 May 2010 06:09:20 -0700 (PDT)
Date: 2010-05-07T06:09:20-07:00	[thread overview]
Message-ID: <1273ee05-5757-41d2-aaa4-463ecb7e8776@o14g2000yqb.googlegroups.com> (raw)
In-Reply-To: 56b185e5-228e-4437-936c-714d2de007b9@d19g2000yqf.googlegroups.com

On May 7, 8:05 am, Harry Tucker <harry.tuc...@sbcglobal.net> wrote:
> On May 7, 3:33 am, resander <kresan...@yahoo.com> wrote:
>
>
>
> > I installed (by doinstall) the latest version of free GNAT GPL from
> > Libre into directory /usr/gnat/bin. After install this contains:
>
> > ken@meijin-desktop:/usr/gnat/bin$ ls
> > addr2line  gdb        gnathtml.pl  gnatprep         gprof
> > c++        gdbserver  gnatkr       gnatstub         gps
> > cbrowser   gnat       gnatlink     gnatxref         gps_exe
> > cpp        gnatbind   gnatls       gprbuild         i686-pc-linux-gnu-c
> > ++
> > dbimp      gnatcheck  gnatmake     gprbuild_debug   i686-pc-linux-gnu-g
> > ++
> > g++        gnatchop   gnatmem      gprclean         i686-pc-linux-gnu-
> > gcc
> > gcc        gnatclean  gnatmetric   gprclean_debug   i686-pc-linux-gnu-
> > gcc-4.3.4
> > gccbug     gnatelim   gnatname     gprconfig        objdump
> > gcov       gnatfind   gnatpp       gprconfig_debug
>
> > I added /usr/gnat/bin to the (Ubuntu 10.04) bashrc startup script of
> > the user 'ken' from which I want to use GPS. The echo command
>
> > echo $PATH
> > /usr/gnat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
> > bin:/usr/games
>
> > issued after login to 'ken' shows that /usr/gnat/bin is on the path.
>
> > gnatmake works from the command line for a small test program main.adb
> > in adatestproj directory:
>
> > ken@meijin-desktop:/home$ ls
> > ken  kr  lost+found  meijin
>
> > ken@meijin-desktop:/home$ cd ken
> > ken@meijin-desktop:~$ ls
> > adatestproj Documents  Music Videos...
>
> > ken@meijin-desktop:~$ cd adatestproj
> > ken@meijin-desktop:~/adatestproj$ ls
> > main.adb main.gpr
> > ken@meijin-desktop:~/adatestproj$ gnatmake main.adb
> > gcc -c main.adb
> > gnatbind -x main.ali
> > gnatlink main.ali
>
> > but from GPS 'Could not locate executable on path: gnatmake' appears
> > when I request compile file from adaptestproj directory.
>
> > I cannot see what is wrong. Would be grateful for advice.
>
> Try looking athttps://help.ubuntu.com/community/EnvironmentVariables
> and the section on persistent environment variables.

Opps see the section after that on system-wide environment variables.



      reply	other threads:[~2010-05-07 13:09 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
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 [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox