Trying to install gtkada ( Adacore Ada Gnat )

Hello!

It’s sad that my first message is about a problem, but this is giving me a headache.

I have tried a couple of things with no results.

I have downloaded from adacore the last linux x86 package with ada gnat gpl and gps and gtkada.

I have installed ada gnat compiler with the script provided in the package, called: “doinstall”, everything was fine. I accepted the recommended location /usr/gnat/
I have added the location to path and exported as environment.

PATH=/usr/gnat/bin:$PATH && export PATH

even if its not necessary I added a line in /etc/profile with:

PATH=/usr/gnat/bin:$PATH 
(just after being declared and assigned an initial values)

later, in the same file (/etc/profile) is exported the PATH variable.

I create a script following the rules of the README or INSTALL file inside the gtkada package.

#!/bin/bash
prefix=/usr/gtkada
mkdir -p $prefix

base=`/bin/pwd`
(cd $prefix; gzip -dc $base/gtk+-2.24.5-i686-pc-linux-gnu.tgz | tar xf -)
PATH=$prefix/bin:$PATH
LD_LIBRARY_PATH=$prefix/lib:/usr/gnat/lib/gps:$LD_LIBRARY_PATH

PKG_CONFIG_PATH=$prefix/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH
export PATH LD_LIBRARY_PATH PKG_CONFIG_PATH

# Then build GtkAda:
mkdir build
cd build
gzip -dc ../gtkada-gpl-2.24.2-src.tgz | tar xvf -
cd gtkada-2.24.2-src/
./configure --prefix=$prefix
make
make install

And i execute with sudo.
Everything works until get the ./configure …

just the last lines of the bash execution:
gtkada-2.24.2-src/examples/doublebuffer/Makefile
gtkada-2.24.2-src/examples/doublebuffer/double_buffer.adb
gtkada-2.24.2-src/examples/doublebuffer/anim2.adb
gtkada-2.24.2-src/examples/doublebuffer/README
gtkada-2.24.2-src/examples/doublebuffer/anim.adb
gtkada-2.24.2-src/examples/doublebuffer/full_test.ads
gtkada-2.24.2-src/examples/doublebuffer/parameters.adb
gtkada-2.24.2-src/examples/doublebuffer/full_test.adb
gtkada-2.24.2-src/examples/doublebuffer/double_buffer.ads
gtkada-2.24.2-src/examples/doublebuffer/anim_task.ads
gtkada-2.24.2-src/examples/doublebuffer/anim_timeout.ads
gtkada-2.24.2-src/examples/doublebuffer/anim_timeout.adb
gtkada-2.24.2-src/CHANGE_189695
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking for gnatmake… no
configure: error: I could not find gnatmake. See the file ‘INSTALL’ for more details.

I dont know why, because i could find gnatmake in /usr/gnat/bin/ as other executable files from gnat compiler.
If i check (echo $PATH) i could find in the string…

I have been reading on internet for some hours but i don’t find the solution. Maybe is some configuration in OpenSuse? or perhaps a bad way to install gtkada?

Of course i could compile .adb with the ada gnat compiler, but not install gtkada.

If in a bash i write: gnatmake is recognized without any problems.

Other try was reinstalling even the gnat compiler but with different location: /usr/local/gnat
And then, in the script of gtkada replacing /usr/gtkada by /usr/local/gtkada
But again the same error.

I will write an email to producers of Ada Gnat if i don’t find the solution in this forum.
Thank you in advance.