[Mesa-users] Installing MesaSDK on OS X 10.13.4

Richard Townsend rhtownsend at wisc.edu
Fri Apr 27 10:25:45 EDT 2018


Hi Robert --

Can you post the file /Applications/mesasdk/etc/config.log.

cheers,

Rich

> On Apr 27, 2018, at 8:53 AM, Robert J Sorba <rsorba at mta.ca> wrote:
> 
> Hello, 
> 
> I am trying to install MesaSDK on Mac OS X 10.13.4 and running into trouble.
> 
> Here is the output I am getting from the Xquartz terminal:
> 
> bash-3.2$ export MESASDK_ROOT=/Applications/mesasdk
> bash-3.2$ source $MESASDK_ROOT/bin/mesasdk_init.sh
> mesasdk_init.sh: checking architecture
> mesasdk_init.sh: checking prerequisites
> mesasdk_preq_check.sh: error: in `/Applications/mesasdk/etc':
> mesasdk_preq_check.sh: error: C compiler cannot create executables
> See `config.log' for more details
> mesasdk_init.sh: regenerating headers
> bash-3.2$ 
> 
> The mesa sdk version I downloaded is
> mesasdk-x86_64-osx-10.12-20180127.dmg
> 
> I am using the following version of Xcode
> bash-3.2$ xcodebuild -version
> Xcode 9.3
> Build version 9E145
> 
> And I made sure to install and update the command line tools using "xcode-select --install"
> 
> I tried changing permissions in the mesasdk folder using chmod, but that did not work either and I get the same error.
> 
> And here is the output requested in the trouble shooting section of the Mesa SDK webpage
> 
> bash-3.2$ uname -a
> Darwin M3925-Piper-3.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
> bash-3.2$ gfortran -v
> Using built-in specs.
> COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin17.3.0/7.2.0/lto-wrapper
> Target: x86_64-apple-darwin17.3.0
> Configured with: /Users/townsend/devel/mesasdk-src/gcc/configure CC='gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin17.3.0 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer
> Thread model: posix
> gcc version 7.2.0 (GCC) 
> bash-3.2$ echo $MESASDK_ROOT
> /Applications/mesasdk
> bash-3.2$ echo $PATH
> /Applications/mesasdk/bin:/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/X11/bin
> bash-3.2$
> 
> 
> Any help you could give would be appreciated. I would be happy to forward whatever files you need (note there does not appear to be any 'config.log' file)
> 
> Thank you,
> Robert Sorba
> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 




More information about the Mesa-users mailing list