comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan@marriott.org
Subject: Trying to install the latest GtkAda for Mac on Mojave using Community 2018
Date: Thu, 31 Jan 2019 07:56:24 -0800 (PST)
Date: 2019-01-31T07:56:24-08:00	[thread overview]
Message-ID: <c71d185b-4dc1-4616-93f5-f6de0942b3e2@googlegroups.com> (raw)

Once upon a time, (2015), I successfully installed GtkAda 3.8.4 using Macports and then GtkAda from the sources provided in gtkada-gpl-2015-src.tar.gz and all was well.

However on buying a new Mac I tried to do the same thing but failed.
As I don't particularly want to remain on this version I have tried to install the latest and greatest.

But again without success.
Can someone give me a clue as to what I am doing wrong or what I should be doing.
Is there a better way of getting GtkAda running on my MAC?

I  installed the community 2018 version of GNAT for OSX.
Easy - so far so good.

I assume that GtkAda needs Gtk3 for Quartz and so I installed Macports 2.5.3 and then did a port install of gtk3 +quartz which installed 3.22.30
So far so good.

I then cloned the sources for GtkAda from GitHub.com/AdaCore/gtkada and then tried to build GtkAda.

Previously I changed directory to the sources and then entered

CC=/usr/bin/gcc ./configure --prefix=/Users/Ahlan/gtkada
make
make install

However the make now fails when trying to compile misc.c on line 32 
#include <stdio.h>
fatal error: stdio.h: No such file

and misc_generated.c fails to find limits.h

How is it supposed to find these files?
Do I need to install something else?
Am I installing GtkAda in the correct and recommended manner?

Any help very much appreciated.
Best wishes,
Ahlan

             reply	other threads:[~2019-01-31 15:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 15:56 ahlan [this message]
2019-01-31 17:13 ` Trying to install the latest GtkAda for Mac on Mojave using Community 2018 ahlan
2019-01-31 18:10 ` Simon Wright
2019-02-04 11:16   ` ahlan
2019-02-04 15:44     ` Simon Wright
2019-07-12  6:06       ` Roger
2019-07-12  6:11         ` Roger
replies disabled

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