From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:4724:b0:765:a23d:e023 with SMTP id bs36-20020a05620a472400b00765a23de023mr377745qkb.4.1687989190905; Wed, 28 Jun 2023 14:53:10 -0700 (PDT) X-Received: by 2002:a05:6870:1f8b:b0:1b0:393d:59fa with SMTP id go11-20020a0568701f8b00b001b0393d59famr4367278oac.9.1687989190722; Wed, 28 Jun 2023 14:53:10 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 28 Jun 2023 14:53:10 -0700 (PDT) In-Reply-To: <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns NNTP-Posting-Host: 98.59.238.112 References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" From: Kenneth Wolcott Injection-Date: Wed, 28 Jun 2023 21:53:10 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3138 Xref: news.eternal-september.org comp.lang.ada:65368 List-Id: On Wednesday, June 28, 2023 at 2:18:36=E2=80=AFPM UTC-7, Kenneth Wolcott wr= ote: > On Wednesday, June 28, 2023 at 2:14:00=E2=80=AFPM UTC-7, Luke A. Guest wr= ote:=20 > > On 28/06/2023 19:38, Kenneth Wolcott wrote:=20 > > > Hi;=20 > > >=20 > > > Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 1= 3.4.1...=20 > > >=20 > > > sudo make DESTDIR=3D/opt/ext_ada_lib/sdlada SDL_PLATFORM=3Dmacosx SDL= _MODE=3Drelease=20 > > > mkdir -p gen/src/=20 > > > gprbuild -p -gnat2012 -XSDL_MODE=3Drelease -XSDL_PLATFORM=3Dmacosx \= =20 > > > -Psdlada.gpr=20 > > > Compile=20 > > > [C] version_ttf.c=20 > > > [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18:= fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory=20 > > > 27 | #include =20 > > > | ^~~~~~~~~~~~~~~~~~~~=20 > > > compilation terminated.=20 > > > gprbuild: *** compilation phase failed=20 > > > make: *** [lib/libadasdl.a] Error 4=20 > > Have you installed sdl ttf with brew? I cannot confirm this all works= =20 > > without brew. > Hi Luke;=20 >=20 > I heavily use MacPorts. I keep hearing that it is a very bad idea to have= MacPorts and HomeBrew concurrently installed on the same machine. Is it at= all possible to do this without HomeBrew? Apparently I did not read your d= ocumentation carefully enough...I thought that having SDL installed via Hom= eBrew was optional, not required.=20 >=20 > Thanks,=20 > Ken Since I'm not using ALIRE (ALR), but using gnatmake (I'm on a Mac mini with= an M1 chip, ALR refuses to get most packages because I don't have a native= Ada compiler), I thought that the HomeBrew mention was in regards to using= the SDLAda package via ALIRE. So that's a different problem requiring a different post :-) Thanks, Ken