[Mesa-users] Issue with installing MESA
Yamaguchi, Natsuko
nyamaguc at caltech.edu
Mon May 27 17:19:38 UTC 2024
Yes, of course. I have also attached the terminal output to this email.
(base) natsukoyamaguchi at vpn-250-110 gui % which gcc
/usr/bin/gcc
(base) natsukoyamaguchi at vpn-250-110 gui % gcc -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Thank you for the help,
Natsuko Yamaguchi
________________________________
From: RICHARD H D TOWNSEND <townsend at astro.wisc.edu>
Sent: Monday, May 27, 2024 10:14 AM
To: Yamaguchi, Natsuko <nyamaguc at caltech.edu>
Cc: mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
Subject: Re: [Mesa-users] Issue with installing MESA
Dear Natsuko —
It looks like your C compiler isn’t working quite right. Can you post the output of the following two commands:
which gcc
gcc -v
Many thanks,
Rich
> On May 27, 2024, at 11:50 AM, Yamaguchi, Natsuko via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hello,
>
> I'm trying to install MESA version r24.03.1 and I get this error in the 'building the utils package' step (the full build.log file is also attached to this email).
>
> CC ../private/utils_c_system.c
> ../private/utils_c_system.c:42:27: error: initializer element is not a compile-time constant
> static const int LEN_TEMP=strlen(TEMPLATE);
> ^~~~~~~~~~~~~~~~
> 1 error generated.
> make: *** [utils_c_system.o] Error 1
>
> I have installed the same version of MESA before on a different computer, and it worked without problems. Does anyone know what's going on?
>
> Other potentially relevant information:
> - MESASDK: version 23.10.1
> - Machine: Macbook Pro, M3 Pro, Sonoma 14.5
>
> Thank you so much!
>
> Natsuko Yamaguchi <build.log>_______________________________________________
> mesa-users at lists.mesastar.org
> https://urldefense.com/v3/__https://lists.mesastar.org/mailman/listinfo/mesa-users__;!!Mak6IKo!N91J8a3xW6DZJPa69ulNM6wP4WbsIMdJkQVVoGs6JEhVsiOx0oR35-hI4SWlWTjTreYCyDidkxeFl4Jk2ZC8kRA0RNDVBMU$
--
Rich Townsend • Professor of Astronomy
Astronomy Department • University of Wisconsin-Madison
Phone: 608-262-1752 • E-mail: rhtownsend at wisc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20240527/b4e5f2ac/attachment.htm>
-------------- next part --------------
Last login: Mon May 27 10:14:29 on ttys005
(base) natsukoyamaguchi at vpn-250-110 gui % which gcc
/usr/bin/gcc
(base) natsukoyamaguchi at vpn-250-110 gui % gcc -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(base) natsukoyamaguchi at vpn-250-110 gui % which gfortran
/Applications/mesasdk/bin/gfortran
(base) natsukoyamaguchi at vpn-250-110 gui % gfortran -v
Using built-in specs.
COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/aarch64-apple-darwin20/13.1.0/lto-wrapper
Target: aarch64-apple-darwin20
Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++ --build=aarch64-apple-darwin20 --host=aarch64-apple-darwin20 --target=aarch64-apple-darwin20 --prefix=/opt/sdk2-tmp/mesasdk --with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk --with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot --without-build-config
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.1.0 (GCC)
(base) natsukoyamaguchi at vpn-250-110 gui %
More information about the Mesa-users
mailing list