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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" Date: Thu, 29 Jun 2023 22:22:25 +0100 Organization: A noiseless patient Spider Message-ID: References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c"; logging-data="2389187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ED7c/GXqn5xw7KafoscxOXsvKr3HCY/A=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cancel-Lock: sha1:dBHSo5tHyc0gJSKh4AIeP4aGGLc= sha1:csxK49min70FK8Z7memSXcdSXZw= Xref: news.eternal-september.org comp.lang.ada:65380 List-Id: Kenneth Wolcott writes: > 2. I stopped using Alire because I wanted a native gnat compiler and > Alire didn't provide one and now that I installed and am using Simon's > (again, thank you) build, Alire refuses to "get" some interesting > packages. I'll respond later with some specific examples. Perhaps I > have Alire improperly installed or configured... I wrote up something about this[1]. Alire will download and install external packages (e.g. SDL2) if it knows how to use the host system's package manager. The "nightly" builds[2] for macOS know how to install via Homebrew, provided that the external manifest has been updated[3]. If someone wants to upgrade Alire to use MacPorts, I'm sure that would be welcomed. Adding aarch64 compilers to the mix makes things somewhat more complicated. Does MacPorts provide aarch64 (aka arm64) binary libraries? the object code and libraries that are linked to produce an executable must be consistent, all x86_64 or all aarch64. [1] https://forward-in-code.blogspot.com/2023/06/alire-on-macos-revisited.html [2] https://github.com/alire-project/alire/releases [3] https://github.com/alire-project/alire-index/pull/832