From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:9143:: with SMTP id b3mr10933993jag.25.1548954829112; Thu, 31 Jan 2019 09:13:49 -0800 (PST) X-Received: by 2002:a05:6830:104c:: with SMTP id b12mr214367otp.7.1548954828950; Thu, 31 Jan 2019 09:13:48 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!85.12.16.70.MISMATCH!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.fr7!futter-mich.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!k10no161888itk.0!news-out.google.com!v71ni199ita.0!nntp.google.com!q69no162595itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 31 Jan 2019 09:13:48 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:506c:ddf0:d947:b481:c63b:ad03; posting-account=DQbqYQoAAACn8hHn2LmG2aF7Mhbxl_Lf NNTP-Posting-Host: 2a02:1205:506c:ddf0:d947:b481:c63b:ad03 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6a7e5654-3440-4a65-88e9-cc9e1a96ed42@googlegroups.com> Subject: Re: Trying to install the latest GtkAda for Mac on Mojave using Community 2018 From: ahlan@marriott.org Injection-Date: Thu, 31 Jan 2019 17:13:49 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 3570 X-Received-Body-CRC: 2169276310 Xref: reader01.eternal-september.org comp.lang.ada:55414 Date: 2019-01-31T09:13:48-08:00 List-Id: On Thursday, January 31, 2019 at 4:56:28 PM UTC+1, ah...@marriott.org wrote: > 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 > 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 To part answer my own question - a better way to install GtkAda is to simply copy Xnadalib-gpl-2018-quartz-x86_64-apple-darwin 17.7.0-bin.tar that some very thoughtful chaps have made available. This seems to be a compilation of "everything" and is built with GNAT community 2018, so the binaries and libraries are all compatible with the version of GNAT I am using. Double plus good! If I had known about this before I could have saved myself such a lot of time ;-) But now I do - so a very big thanks to those involved in creating this time saving pre-built collection. I have made a donation - not much but enough for a beer - Enjoy! MfG Ahlan