[Mesa-users] MESA Install Not Working After Installing ndiff
Francis Timmes
fxt44 at mac.com
Fri Sep 25 16:06:07 EDT 2020
the compiler and ndiff is now being found, so progress.
> LOADER ../tester
> ld: library not found for -lSystem
after installing xcode, open xcode. this will install/update, among other things,
the System library. once xcode if finished doing its thing, quit xcode.
then issue the terminal command xcode-select --install.
now open a new terminal window. set the MESASDK_ROOT and other environment variables
if you have not set them in your, for example, .bashrc file. then build mesa.
fxt
> On Sep 25, 2020, at 11:10 AM, Logan Troy DiAdams <ltdiadams at mta.ca> wrote:
>
> I just deleted and reinstalled the 20.3.2 mesasdk for macos, I now get a totally different error as follows:
>
> /Users/logandiadams/Desktop/mesa-r12778/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
> ld: library not found for -lSystem
> collect2: error: ld returned 1 exit status
> make: *** [../tester] Error 1
>
> /Users/logandiadams/Desktop/mesa-r12778/const/test
> FAILED
>
>
> /Users/logandiadams/Desktop/mesa-r12778/const
> ./build_and_test FAILED
>
> When I try to ./install in the mesa-r12778 directory.
>
> On 2020-09-25, 2:58 PM, "Francis Timmes" <fxt44 at mac.com> wrote:
>
> build.log is a plain text file. take a peek and you'll see this line
>
> gfortran -v
> /Applications/mesasdk/bin/gfortran: line 63: /Applications/mesasdk/bin/gfortran.exec: cannot execute binary file
>
> indicating that something has gone amiss with installing the sdk.
> which sdk are you installing?
> have you installed xcode?
> http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
>
>
> fxt
>
>
>
>
>> On Sep 25, 2020, at 10:41 AM, Logan Troy DiAdams <ltdiadams at mta.ca> wrote:
>>
>> Hi,
>>
>> I tried the absolute path and I was still met with the same prompt to install ndiff, is there a way to test that the sdk was initialized properly?
>>
>> On 2020-09-25, 1:53 PM, "Francis Timmes" <fxt44 at mac.com> wrote:
>>
>> instead of
>>
>> export MESA_DIR=~/Desktop/mesa-r12778
>>
>> you can also try explicitly setting the absolute path, so something like
>>
>> export MESA_DIR=/Users/logan/Desktop/mesa-r12778
>>
>> fxt
>>
>>
>>
>>
>>> On Sep 25, 2020, at 7:26 AM, Josiah Schwab via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>>>
>>> Hi Logan,
>>>
>>>> I’m wondering if there’s something I’m missing here and why I’m not able to install MESA.
>>>
>>>
>>> Being prompted to install ndiff suggests that you have not in fact correctly initialized the SDK (as ndiff is included). It was hard from your message to tell exactly what may have gone wrong.
>>>
>>> Please double check your steps and also attach the build.log file that should be produced in $MESA_DIR after you do install.
>>>
>>> Josiah
>>> _______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>
>>
>>
>
>
More information about the Mesa-users
mailing list