From: resander <kresander@yahoo.com>
Subject: How to fix 'Could not locate executable on path: gnatmake'
Date: Fri, 7 May 2010 01:33:49 -0700 (PDT)
Date: 2010-05-07T01:33:49-07:00 [thread overview]
Message-ID: <f002267e-9126-4771-8519-a1119177b6c3@o14g2000yqb.googlegroups.com> (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.
next reply other threads:[~2010-05-07 8:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 8:33 resander [this message]
2010-05-07 9:49 ` How to fix 'Could not locate executable on path: gnatmake' 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox