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:7b25:: with SMTP id q37mr1214430jac.5.1549278994295; Mon, 04 Feb 2019 03:16:34 -0800 (PST) X-Received: by 2002:a9d:148:: with SMTP id 66mr411756otu.5.1549278994185; Mon, 04 Feb 2019 03:16:34 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!k10no615715itk.0!news-out.google.com!v71ni818ita.0!nntp.google.com!k10no615710itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 4 Feb 2019 03:16:33 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:506c:ddf0:78d5:8b1:1dad:167a; posting-account=DQbqYQoAAACn8hHn2LmG2aF7Mhbxl_Lf NNTP-Posting-Host: 2a02:1205:506c:ddf0:78d5:8b1:1dad:167a References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <91fd8c43-e858-4e16-9113-daa049924adf@googlegroups.com> Subject: Re: Trying to install the latest GtkAda for Mac on Mojave using Community 2018 From: ahlan@marriott.org Injection-Date: Mon, 04 Feb 2019 11:16:34 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55437 Date: 2019-02-04T03:16:33-08:00 List-Id: On Thursday, January 31, 2019 at 7:10:20 PM UTC+1, Simon Wright wrote: > ahlan@marriott.org writes: > > > 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 > > I think you may have fallen foul of Apple's latest (not installing the > header files where they ought to be): see > https://forward-in-code.blogspot.com/2018/11/mojave-vs-gcc.html Dear Simon, How right you are :-) Typing your line of magic solves the problem. Or at least takes me to the next. As I wrote, I have a solution, in as much as I can simply copy the complete works as built by somebody else. But just out of interest, and because I think I am tantalisingly close to successfully building GtkAda myself I wonder if you or anyone else can help me past the next hurdle. When I type Make I now get ld: unknown option: -Wl collect2: error: ld returned 1 exit status garlic: /users/ahlan/opt/gnat/2018/bin/gcc execution error gprbuild: could not build library for project gtkada make: *** [build_library_type/relocatable] Error 4 Any ideas what I should do? Best wishes, Ahlan