comp.lang.ada
 help / color / mirror / Atom feed
* How to fix 'Could not locate executable on path: gnatmake'
@ 2010-05-07  8:33 resander
  2010-05-07  9:49 ` Ludovic Brenta
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: resander @ 2010-05-07  8:33 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-05-10 14:55 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox