On 11/23/2016 03:52 AM, Dmitry A. Kazakov wrote:
[snip]
> I vaguely remember something like that. I believe I did "ln -s" from
> gnatmake to gprbuild. It is also possible to install gprbuild from
> another version. Sometimes that works too.
gprbuild is available on this system. I suspect something is broken in
how the doinstall script or it expects information from the environment
that isn't setup correctly.
> I never managed to compile GtkAda with OpenGL. Do you really need it?
> You can disable OpenGL in the configure.
I don't know if I will need it. For the most part, I am looking at the
tool and the company, and generally assessing the technology and its
community/culture.
Thanks. I've collected most of the source code that you've made
available on your website. I'll probably study it during the next few
weeks and probably use some of it to explore the GNAT tools (for
building and managing software). But I am a little hesitant to install
binaries from untrusted sources...
Besides, I think I managed to get gtkada installed (I haven't tested
it). For posterity:
[hanzer@galileo7]$ git clone
https://github.com/AdaCore/gtkada.git
[hanzer@galileo7]$ cd gtkada/
[hanzer@galileo7]$ sudo ./doinstall
Gtk+ binary package not found. Aborting the installation process.
[hanzer@galileo7]$ ./configure --prefix=/opt/gtkada
...
configure: --------- Summary for Gtkada 18.0w -----------------
configure: Shared libraries: yes (default: static)
configure: OpenGL: True
configure: --------------------------------------------
[hanzer@galileo7]$ make
...# Looks good.
[hanzer@galileo7]$ sudo make install
/opt/gnat/bin/gprinstall -p -f --project-subdir=lib/gnat
--build-var=LIBRARY_TYPE --install-name=gtkada --prefix=/opt/gtkada
-XGTK_PREFIX=/opt/gtkada -XLIBRARY_TYPE=static-pic --build-name=static-pic \
--sources-subdir=include/gtkada/gtkada.static-pic \
--lib-subdir=lib/gtkada/gtkada.static-pic \
-Psrc/gtkada.gpr
gprinstall: could not locate gprconfig for auto-configuration
make: *** [install/static-pic] Error 4
[hanzer@galileo7]$ which gprconfig
/opt/gnat/bin/gprconfig
[hanzer@galileo7]$ sudo make PATH=/opt/gnat/bin:$PATH install
...
-----------------------------------------------------------------------
-- GtkAda has now been installed. --
-- To use the library, you may need to update LD_LIBRARY_PATH --
-- or to run ldconfig. You may also need to update GPR_PROJECT_PATH --
-- to include --
-- /opt/gtkada/lib/gnat
-----------------------------------------------------------------------
# Success, it would seem...