[Mesa-users] Issue with installing MESA
RICHARD H D TOWNSEND
townsend at astro.wisc.edu
Mon May 27 17:14:01 UTC 2024
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
More information about the Mesa-users
mailing list