[Mesa-users] MESA Install Not Working After Installing ndiff

Logan Troy DiAdams ltdiadams at mta.ca
Fri Sep 25 16:39:38 EDT 2020


Okay I did that, xcode didn't want to install any updates, but running the command gives "lrwxr-xr-x  1 root  wheel    17B 21 Oct  2019 /usr/lib/libSystem.dylib -> libSystem.B.dylib"

Logan

On 2020-09-25, 5:33 PM, "Francis Timmes" <fxt44 at mac.com> wrote:

    quit xcode. open it again to see if it wants to install updated components.
    then quit it again.

    check that the System dylib is present

    % ls -lh /usr/lib/libSystem.dylib 

    fxt




    > On Sep 25, 2020, at 1:17 PM, Logan Troy DiAdams <ltdiadams at mta.ca> wrote:
    > 
    > Okay, xcode has been open the entire time. What do you want me to do once it's open?
    > 
    > Logan
    > 
    > On 2020-09-25, 5:16 PM, "Francis Timmes" <fxt44 at mac.com> wrote:
    > 
    >    open xcode.
    > 
    >    fxt
    > 
    > 
    > 
    > 
    >> On Sep 25, 2020, at 1:12 PM, Logan Troy DiAdams <ltdiadams at mta.ca> wrote:
    >> 
    >> Xcode was already on my system, running the command xcode-select --install yields " xcode-select: error: command line tools are already installed, use "Software Update" to install updates". When I set the environment variables and then try to build mesa I still get the same ./build_and_test FAILED error.
    >> 
    >> Logan
    >> 
    >> On 2020-09-25, 5:06 PM, "Francis Timmes" <fxt44 at mac.com> wrote:
    >> 
    >>   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