>>> I managed to build OpenJDK on Mavericks using the Xcode4 tool chain, with 
>>> one minor glitch (Bob, installing Quartz X11 addresses X11 issues.)
>>> 
>>> Before installing Mavericks, I renamed Xcode.app to Xcode4.app.
>>> 
>>> I then installed Mavericks and sundry updates (Xcode5, iTunes, iWorks, 
>>> iLife, ...)
>>> 
>>> After checking out tl, I configured with
>>> 
>>>     sh ./configure 
>>> --with-tools-dir=/Applications/Xcode4.app/Contents/Developer/usr/bin
>> 
>> You can also install the Xcode 4 command line tools and run "sudo 
>> xcode-select --switch /Applications/Xcode4.app" then you shouldn't need the 
>> --with-tools-dir configure argument (I have both 4.6 and 5 installed). The 
>> Xcode 5 command line tools clobber the gcc symlinks, which is (IMHO) a bug 
>> in Apples CL tools installer...
>> 
> 
> I tried that and the build scripts seemed to hang on "xcrun lipo"

Hmm.. I'm still running 10.8 (won't switch until I'm done with my current ... 
erm, "task" ... )

What does "xcrun -f lipo" report?

I had to "forget" the Xcode 5 CL tools installer receipt ("sudo pkgutil 
--forget com.apple.pkg.DeveloperToolsCLI" I think) then reinstall Xcode 4 CL 
tools. Forgetting the package receipt forces it to rewrite everything and fixes 
all the symlinks that got broken (at least the relevant ones), otherwise it 
thinks everything is already installed and skips any actual work.

-DrD-

Reply via email to