Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to install GtkAda

628 views
Skip to first unread message

AdaMagica

unread,
Oct 24, 2020, 7:09:04 AM10/24/20
to
I downloaded the newest release 21.0.0 from https://github.com/AdaCore/gtkada and unpacked it.

README.md says:
Installation
------------
See the file `INSTALL`.

INSTALL says:
On Windows, just run the Gtkada installer and follow the displayed instructions.

This is a joke! Where is this installer?

Chris Townley

unread,
Oct 24, 2020, 8:31:17 AM10/24/20
to
On 24/10/2020 12:09, AdaMagica wrote:
> Gtkada installer

You can find it on the net - Google is your friend!

Strange they don't distribute it. I haven't found the official source

Chris

Dmitry A. Kazakov

unread,
Oct 24, 2020, 9:12:28 AM10/24/20
to
The binary release of GtkAda with an installer is in the GNAT CE:

https://www.adacore.com/download/more

You cannot install GtkAda from the sources under Windows, because GTK
cannot be without some serious hair-pulling bootstrapping process as it
has circular dependencies in it, and to be honest, it is a total mess.

However if you could skip the the fun part. Install MinGW and get
pre-built GTK packages from there. Then you could try to compile GtkAda
by usual config-make way under MinGW. You can use either MinGW GNAT or
GNAT CE for that. This should give you GtkAda compiled for Windows.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

AdaMagica

unread,
Oct 26, 2020, 7:54:15 AM10/26/20
to
Dmitry A. Kazakov schrieb am Samstag, 24. Oktober 2020 um 15:12:28 UTC+2:
> https://www.adacore.com/download/more
Thanks Dmitry, I downloaded it from there and installed it.
Don't know why I didn't see it on this site.
Christoph

Norman Worth

unread,
Nov 2, 2020, 4:16:50 PM11/2/20
to
doInstall

AdaMagica

unread,
Nov 3, 2020, 8:22:43 AM11/3/20
to
Norman Worth schrieb am Montag, 2. November 2020 um 22:16:50 UTC+1:
> doInstall
Thank you! doinstall is a shellscript and does not run under windows.

Stephen Leake

unread,
Nov 4, 2020, 10:25:54 PM11/4/20
to
It will run in Cygwin or msys2; use use msys2 (http://mingw-w64.org/).

--
-- Stephe

AdaMagica

unread,
Nov 5, 2020, 4:44:43 AM11/5/20
to
Stephen Leake schrieb am Donnerstag, 5. November 2020 um 04:25:54 UTC+1:
> It will run in Cygwin or msys2; use use msys2 (http://mingw-w64.org/).

Yes, I could install those. But for my needs, Windows alone is enough, I'm not going to install some shim just for GtkAda.
If this version implies to use those, they just should say so and not talk about a nonexistant windows installer.

Stephen Leake

unread,
Nov 6, 2020, 7:18:02 AM11/6/20
to
AdaMagica <christ-u...@t-online.de> writes:

> Stephen Leake schrieb am Donnerstag, 5. November 2020 um 04:25:54 UTC+1:
>> It will run in Cygwin or msys2; use use msys2 (http://mingw-w64.org/).
>
> Yes, I could install those. But for my needs, Windows alone is enough,

There is also the GNAT Community release binary install, which includes
GtkAda.

--
-- Stephe


John McCabe

unread,
Apr 5, 2021, 5:54:11 PM4/5/21
to
On Monday, 26 October 2020 at 11:54:15 UTC, AdaMagica wrote:
> Dmitry A. Kazakov schrieb am Samstag, 24. Oktober 2020 um 15:12:28 UTC+2:
> > https://www.adacore.com/download/more
> Thanks Dmitry, I downloaded it from there and installed it.

Sorry to resurrect this but, as a matter of interest, have you tried using Glade from the start menu? I installed GtkAda earlier from the Community stuff and, while just rummaging around, thought I'd click on the "Glade" menu item (it's years since I used GTK, and I remember Glade being 'interesting' at the time, soo... :-). Anyway, it comes up saying it can't find glade-2.exe at the location it's supposed to be.

I just wondered if that's 'normal' for the Windows installer.

John

DrPi

unread,
Apr 8, 2021, 11:31:00 AM4/8/21
to
To launch Glade, go to "C:\GtkAda\bin" and double click "Glade.exe".

To run a more recent version you can :
- install MSYS2
- From MSYS2 terminal (MSYS2 MinGW 64-bit) :
- install required package : pacman -S mingw-w64-x86_64-glade
- run "glade"

Nicolas
>
> John
>

John McCabe

unread,
Apr 15, 2021, 7:47:58 AM4/15/21
to
On Thu, 08 Apr 2021 17:30:56 +0200, DrPi wrote:

> Le 05/04/2021 à 23:54, John McCabe a écrit :
>> On Monday, 26 October 2020 at 11:54:15 UTC, AdaMagica wrote:
>>> Dmitry A. Kazakov schrieb am Samstag, 24. Oktober 2020 um 15:12:28
>>> UTC+2:
>>>> https://www.adacore.com/download/more
>>> Thanks Dmitry, I downloaded it from there and installed it.
>>
>> Sorry to resurrect this but, as a matter of interest, have you tried
>> using Glade from the start menu? I installed GtkAda earlier from the
>> Community stuff and, while just rummaging around, thought I'd click on
>> the "Glade" menu item (it's years since I used GTK, and I remember
>> Glade being 'interesting' at the time, soo... :-). Anyway, it comes up
>> saying it can't find glade-2.exe at the location it's supposed to be.
>>
>> I just wondered if that's 'normal' for the Windows installer.
>
> To launch Glade, go to "C:\GtkAda\bin" and double click "Glade.exe".

Thanks for that Nicolas; to be honest though, I knew how to run it, I
just wanted to know if it was normal for the installer to not install
things properly!

DrPi

unread,
Apr 16, 2021, 4:28:18 AM4/16/21
to
Ah, sorry for the misunderstanding.
I have the same behavior when clicking "Glade" in the start menu.

John McCabe

unread,
Apr 18, 2021, 3:46:07 PM4/18/21
to
On Fri, 16 Apr 2021 10:28:16 +0200, DrPi wrote:

> Le 15/04/2021 à 13:47, John McCabe a écrit :
>> On Thu, 08 Apr 2021 17:30:56 +0200, DrPi wrote:
>>
<..snip..>

> Ah, sorry for the misunderstanding.
> I have the same behavior when clicking "Glade" in the start menu.

Thanks; that's useful to know!

John

Peter

unread,
Jun 3, 2021, 4:25:47 AM6/3/21
to
Update for the next poor bunny to fall down this rabbit hole! I've raised an issue on the Github GtkAda project (interesting that nobody in this thread thought to do that :-) ), so hopefully nobody will ever read this, but just in case.....

Here is why AdaMagica DID NOT find the GtkAda installation package in the "more" directory in the first place (and why I could not find it even after reading this thread!):

When installing GNAT Ada for Windows, you first come to this page: https://www.adacore.com/download where you find the latest Windows GNAT Ada installation file - you download that, not need to look at the "more packages" link. Even when you DO look at that link, the dropdown list contains only "x86 Windows (64-bit)" - and why would you select that link? I mean you already have the Windows install file!. If you do happen to select that link, you get a page that not only has the GNAT Ada Windows install file (which you already have) BUT ALSO the GtkAda install file, an unlikely (imo) sequence of events!

Hopefully the issue will be fixed in the Github repository INSTALL file - even if it is only to indicate the few steps to find the installation file in the Ada Core site.

Peter
0 new messages