Building git master on OS X 10.8
Posted by Ryan Spicer on
URL: https://forum.jogamp.org/Building-git-master-on-OS-X-10-8-tp4025646.html
So, I jumped off the early-adopter cliff and installed OS X 10.8 this morning. Of course things are a bit broken. It seems that Apple has relocated the JDK _yet again_. I was able to build by manually monkeypatching line 1404 of gluegen-cpp-tasks-base to point to "/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib" instead of "/System/Library/Frameworks/JavaVM.framework/Libraries" (which no longer exists). Longer-term, it seems like that should probably go inside a condition block along the lines of
<condition property="java.lib.dir.platform"
value="/System/Library/Frameworks/JavaVM.framework/Libraries"
else="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib">
<available file="/System/Library/Frameworks/JavaVM.framework/Libraries/libjawt.dylib"/>
</condition>
Of course, this is not ideal because it hard-codes a reliance on the 1.7.0 JDK. There doesn't seem to be a generic symlink anywhere (that I've found, anyway) though that points to that path.
Any thoughts? Hopefully this will at least get any other early adopters running into trouble back up and compiling, 'til a real fix is developed.