comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Jensen <hanzer@riseup.net>
Subject: Re: gtkada installation problem
Date: Wed, 23 Nov 2016 14:03:19 -0500
Date: 2016-11-23T14:03:19-05:00	[thread overview]
Message-ID: <o14p3f$qo0$1@dont-email.me> (raw)
In-Reply-To: <o13lcr$16c5$1@gioia.aioe.org>

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.

> BTW, I have packaged versions GtkAda GPL (without OpenGL) for some
> targets here:
> 
> http://www.dmitry-kazakov.de/ada/gtkada.htm

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...

  reply	other threads:[~2016-11-23 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-11-23 19:15     ` Adam Jensen
2016-11-23 20:29     ` Simon Wright
2016-11-23 20:36     ` Dmitry A. Kazakov
replies disabled

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