[mesa-users] OSX 10.9.1 installation problem (+ workaround?)

Kevin Moore klmoore at soe.ucsc.edu
Mon Jan 20 15:38:00 EST 2014


Hey all,

I just got a new laptop with Mavericks (10.9.1) and ran into some problems installing MESA (v5819) with the current 64-bit SDK (December 23 2013) that were in the FAQ:

/usr/bin/awk: can't open file ../ndiff/share/lib/ndiff/ndiff-2.00/ndiff.awk
 source line number 1 source file ../ndiff/share/lib/ndiff/ndiff-2.00/ndiff.awk
 context is
         >>>  <<<

So I try to download the command line tools via “xcode-select —install", and get the error:
"Can't install the software because it is not currently available from the Software Update server."

Ok, so I find a link to download them from Apple’s website: https://developer.apple.com/downloads/index.action
and do so from there. I’m not sure how to check if it actually installed correctly, but "xcode-select -p” gives “/Applications/Xcode.app/Contents/Developer”, and I have Xcode version 5.0.2 (5A3005).

None of this gets rid of the previous awk error, despite reinstalls/reboots. But it looks like the ./ck script is calling the ndiff packaged with MESA, while there’s another copy of ndiff packaged with the SDK (“which ndiff” gives /Applications/mesasdk/bin/ndiff). If I replace the lines in the ck scripts in the sample, star, gyre, and adipls modules that look like
"../../utils/ndiff/bin/ndiff-mesa -quiet -relerr 1.0e-6 tmp.txt test_output"
with
"ndiff -quiet -relerr 1.0e-6 tmp.txt test_output"
then things work fine (and soo fast now). 

I guess my lingering questions are:
1) How do I check if the command-line tools actually installed on my system correctly? When I installed Xcode from the app store it already had a selection in Preferences > Locations saying the command line tools were "Xcode 5.0.2 (5A3005)”. I’m assuming something is still not right with mine if the default install script isn’t working for me.

2) Why are there two versions of ndiff? Is there a reason to use the one packaged with MESA over treating it like other dependencies and using the one in the MESA SDK?

-Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140120/225b2c2c/attachment.html>


More information about the Mesa-users mailing list