[Mesa-users] Error in Installing MESA

Warrick Ball W.H.Ball at bham.ac.uk
Tue May 30 10:27:19 UTC 2023


Hi,

Try installing the glibc headers with:

     sudo dnf install glibc-devel

then running ./install again.

Cheers,
Warrick

____________

Warrick Ball
Senior Research Software Engineer
University of Birmingham
W.H.Ball at bham.ac.uk

On Tue, 30 May 2023, Divyansh Tripathi 20108 via Mesa-users wrote:

> CAUTION: This email originated from outside the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.
> Yes, I have all dependencies installed.
> 
> On Tue, 30 May 2023, 2:49 pm Rob Farmer, <robert.j.farmer37 at gmail.com> wrote:
>       Can you confirm you have installed all the dependencies listed at http://user.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites for your linux distribution?
> 
> Rob
> 
> On Mon, 29 May 2023 at 21:35, Divyansh Tripathi 20108 via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>       Hello, all
>
>       I am Divyansh; I am trying to install MESA on my machine, but every time installation fails. I am attaching the output of the build.log file below.
> Don't know what went wrong and how to make it work.
> 
> --------------------------------------------------------------------------------------
> 
> MESA Version
> r22.11.1
> 
> uname -a
> Linux fedora 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 17:37:39 UTC 2023 x86_64 GNU/Linux
> 
> gfortran -v
> Using built-in specs.
> COLLECT_GCC=/home/dt/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/home/dt/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk
> --with-gmp=/home/user/sdk2-tmp/mesasdk --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer
> --enable-clocale=generic
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 12.1.0 (GCC)
> 
> $MESASDK_ROOT
> /home/dt/mesasdk
> 
> MESASDK version
> x86_64-linux-22.6.1
> 
> $PATH
> /home/dt/mesasdk/bin:/home/dt/.local/bin:/home/dt/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
> 
> $MESA_DIR
> /home/dt/mesa-r22.11.1
> 
> 
> /home/dt/mesa-r22.11.1/const
> building const package.
> 
> MAKEDEPF90
> COMPILE_CMD ../public/const_def.f90
> COMPILE_CMD ../public/const_lib.f90
> LIB_TOOL libconst.a
> MAKEDEPF90
> TEST_COMPILE ../src/test_const.f
> LOADER ../tester
> /usr/bin/ld: cannot find crt1.o: No such file or directory
> /usr/bin/ld: cannot find crti.o: No such file or directory
> /usr/bin/ld: cannot find -lm: No such file or directory
> collect2: error: ld returned 1 exit status
> make: *** [makefile_base:36: ../tester] Error 1
> 
> /home/dt/mesa-r22.11.1/const/test
> FAILED
> 
> 
> /home/dt/mesa-r22.11.1/const
> ./build_and_test FAILED
> 
> ------------------------------------------------------------------------------------------------
> 
> Regards
> Divyansh Tripathi
> BS-MS, 3rd Year (Physics Major)
> Department of Physics (20108)
> Indian Institute of Science Education and Research, Bhopal (IISER Bhopal)
> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 
> 
>


More information about the Mesa-users mailing list