From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Problem building GNAT CE 2021 on Mac Catalina Date: Thu, 17 Jun 2021 17:49:25 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cancel-Lock: sha1:oETfRzEknXFYAlkmu1+7AOtmLB8= X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:62239 List-Id: Roger Mc writes: > Mac OSX 10.15.7 > XCode 12.0 > > I am attemting to build using the insttructions provided by the > README.BUILD from the source distribution of GNAT. > > I configure successfully from my /opt/GNAT/2021/obj directory with > > ../src/configure --enable-languages="c,ada" --disable-libada > --with-gmp=/usr/local/Cellar/gmp/6.2.1 > --with-mpfr=/usr/local/Cellar/mpfr/4.1.0 > --with-mpc=/usr/local/Cellar/libmpc/1.1.0 > > Although My /usr/local/include directory does include libintl.h > make bootstrap fails with: > In file included from ../../src/libcpp/charset.c:21: > ../../src/libcpp/system.h:279:10: fatal error: libintl.h: No such file > or directory > #include I think those instructions are rather old. Two things: * usually, GCC build instructions say not to make the build directory a subdirectory of the source * nowadays you don't need to --disable-libada and then "make -C gcc gnatlib gnattools" What compiler are you starting from? What stage of the build did this fail at? (stage_current in the build directory) It looks as though this is to do with "Native Language Support (NLS), which lets GCC output diagnostics in languages other than American English". The configuration documentation at https://gcc.gnu.org/install/configure.html suggests --disable-nls (which is what I do) or --with-included-gettext.