[Mesa-users] Installation problem

Warrick Ball W.H.Ball at bham.ac.uk
Fri Jan 14 08:41:06 UTC 2022


Hi Rich,

I just looked at the manifest for Ubuntu 20.04 and it looks like `libc6-dev` is no longer included as a default package.  I did a sort of bisection search through the manifests and it appears that it was dropped as a default package between 17.04 and 17.10.  Unless we're sure it should be downloaded as a dependency of one of the other MESA SDK prerequisites, I think `libc6-dev` needs to be added to the list of prerequisites for Ubuntu.

I can confirm by trying a fresh install on an Ubuntu VM, if you think it's worth it.

Cheers,
Warrick

___________

Warrick Ball
Postdoc, School of Physics and Astronomy
University of Birmingham, Edgbaston, Birmingham B15 2TT
W.H.Ball at bham.ac.uk
+44 (0)121 414 4552

On Fri, 14 Jan 2022, mesa-users at lists.mesastar.org wrote:

> Hi,
>
> Have you installed all the prerequisites for the MESA SDK?  They're listed 
> here:
>
>    http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites
>
> Though I don't use Ubuntu myself, it looks (via the Debian package index) 
> that `crti.o` and `crt1.o` are provided by the package `libc6-dev` (which is 
> not listed as a prerequisite for Ubuntu), so try installing that.
>
> If installing `libc6-dev` solves the problem, we might need to add it to the 
> list of prerequisites for Ubuntu.  I'll have a look.  (I notice it's already 
> a prerequisite for Mint.)
>
> Cheers,
> Warrick
>
> ___________
>
> Warrick Ball
> Postdoc, School of Physics and Astronomy
> University of Birmingham, Edgbaston, Birmingham B15 2TT
> W.H.Ball at bham.ac.uk
> +44 (0)121 414 4552
>
> On Fri, 14 Jan 2022, mesa-users at lists.mesastar.org wrote:
>
>>  Dear all,
>>
>>  I would like to ask you about the installation problem on my Ubuntu 20.04
>>  64bits with 16Gb memory and a processor Intel core i5-6500 CPU 3.20GHzx4
>>  machine. After mesasdk installation, I tried to install mesa Version
>>  r21.12.1 with mesasdk 21.4.1
>>  version  and I got this error. 
>>
>>  *** Copy and paste the following information into your email to mesa-users
>>  ***
>>
>>  MESA Version
>>  15140
>>
>>  uname -a
>>  Linux physics 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40
>>  UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>>
>>  gfortran -v
>>  Using built-in specs.
>>  COLLECT_GCC=/home/neutrino/mesasdk/bin/gfortran.exec
>>  COLLECT_LTO_WRAPPER=/home/neutrino/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.2.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 10.2.0 (GCC) 
>>
>>  $MESASDK_ROOT
>>  /home/neutrino/mesasdk
>>
>>  MESASDK version
>>  x86_64-linux-21.4.1
>>
>>  $PATH
>>  /home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>>
>>  $MESA_DIR
>>  /home/neutrino/mesa
>>
>>
>>  /home/neutrino/mesa/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
>>  collect2: error: ld returned 1 exit status
>>  make: *** [makefile_base:36: ../tester] Error 1
>>
>>  /home/neutrino/mesa/const/test
>>  FAILED
>>
>>
>>  /home/neutrino/mesa/const
>>  ./build_and_test FAILED
>>
>>
>>  Can anybody help me with this problem?
>>
>>  Thanks
>>  Best Regards,
>>  Nor Sofiah Ahmad
>>
>> 
>> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
>


More information about the Mesa-users mailing list