comp.lang.ada
 help / color / mirror / Atom feed
* gtkada installation problem
@ 2016-11-23  1:00 Adam Jensen
  2016-11-23  8:52 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Jensen @ 2016-11-23  1:00 UTC (permalink / raw)


I am trying to set up a software development environment based on
Adacore's GPL version of GNAT.

--------------------This part seems to be okay--------------------
I've installed:

AdaCore-Download-2016-11-08_2019-ARM-ELF-Linux.tar
into: /opt/gnat-arm

AdaCore-Download-2016-11-08_1717.tar
contains these:
gnatgpl  gprbuild  gtkada  sparkgpl

gnatgpl
into: /opt/gnat

gprbuild seems to be included in gnatgpl.

sparkgpl
into: /opt/spark2014

I've appropriately modified PATH and set it in ~/.bash_profile

------------------------------------------------------------------
       ****** THE PROBLEM IS HERE (with gtkada) ******

[hanzer@galileo7]$ cd gtkada-gpl-2016-x86_64-linux-bin
[hanzer@galileo7]$ sudo ./doinstall

  Enter the name of the directory in which you would like to install GtkAda

[/opt/gtkada]

  Are you now ready to proceed with the installation [Y/n] ? Y
Copying the Gtk+ binaries
Setting up the environment
Compiling GtkAda
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for gprbuild... no
checking for gprinstall... no
configure: error: I could not find gprbuild. See the file 'INSTALL' for
more details.

An error occurred. Please see install.log.

The personal pronoun in the error message aside for the moment, gprbuild
is in the PATH and seems to be accessible:

[hanzer@galileo7]$ which gprbuild
/opt/gnat/bin/gprbuild

If I try:

[hanzer@galileo7]$ ./configure --prefix=/opt/gtkada
...
configure: --------- Summary for Gtkada 2016 -----------------
configure:   Shared libraries:       yes (default: static)
configure:   OpenGL:                 True
configure: --------------------------------------------

[hanzer@galileo7]$ make
...
gcc -c -g -O0 -gnaty-s -gnatwJ create_ui_manager.adb
gcc -c -g -O0 -gnaty-s -gnatwJ libart_demo.adb
gcc -c -g -O0 -gnaty-s -gnatwJ view_gl.adb
view_gl.gpb:3:06: file "gl_h.ads" not found
view_gl.gpb:5:06: file "gdk-gl.ads" not found
view_gl.gpb:10:06: file "glu_h.ads" not found
view_gl.gpb:11:06: file "gtk-glarea.ads" not found

   compilation of view_gl.adb failed

gprbuild: *** compilation phase failed
make: *** [tests] Error 4
------------------------------------------------------------------

Any ideas?


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

end of thread, other threads:[~2016-11-23 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23  1:00 gtkada installation problem Adam Jensen
2016-11-23  8:52 ` Dmitry A. Kazakov
2016-11-23 19:03   ` Adam Jensen
2016-11-23 19:15     ` Adam Jensen
2016-11-23 20:29     ` Simon Wright
2016-11-23 20:36     ` Dmitry A. Kazakov

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