[Mesa-users] error installing mesa-r10398

Francis Timmes fxt44 at mac.com
Sun Dec 4 18:33:33 UTC 2022


hi danny,

my preferred solution for running older versions of mesa is nudocker:

https://github.com/NuGrid/NuDocker

it is invaluable for running older versions of mesa, including 10398, without the pain points that you describe.

fxt






> On Dec 3, 2022, at 1:11 PM, Danny Sun via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> 
> Hi all,
> 
> I am trying to install mesa-r10398 on my laptop, but get the following error when it builds the const package. The error
> 
> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=12  -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -I../../make -I../../public -I../../../include -fbounds-check -Wuninitialized -Warray-bounds  -c -ffixed-form -ffixed-line-length-132 -x f77-cpp-input ../src/test_const.f
> gfortran -fopenmp -o ../tester test_const.o -L../../make -lconst
> ld: library not found for -lSystem
> collect2: error: ld returned 1 exit status
> make: *** [tester] Error 1
> 
> /Users/dsun/Desktop/mesa-r10398/const/test
> FAILED
> 
> 
> /Users/dsun/Desktop/mesa-r10398/const
> ./build_and_test FAILED
> 
> I am using macOS 12.6 (Monterey),
> MESA version: mesa-r10398
> SDK: mesasdk-x86_64-osx-10.14-20181104 (I also tried mesasdk-x86_64-osx-10.14-20180127)
> gfortran -v: gcc version 7.2.0 (GCC)
> echo $MESA_DIR: /Users/dsun/Desktop/mesa-r10398/
> echo $MESASDK_ROOT: /Applications/mesasdk
> 
> 
> The error "library not found for -lSystem" is apparently fixed in mesasdk-x86_64-macos-20.9.1 in response to Xcode 12, but in order to install the earlier version of MESA I believe I also need the corresponding MESASDK.
> 
> I also have installed all the command line tools using "xcode-select -install" and tried "open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg" but get that the file does not exist.
> 
> Sincerely,
> Danny
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 



More information about the Mesa-users mailing list