Building on Mac

Daniel Fuchs daniel.fuchs at
Mon Mar 18 08:40:57 UTC 2013

Hi Peter,

Did you 'install the command line tools' in Xcode?

The fact that you have to refer to /Applications/ let me 
think that
perhaps you didn't.
Start Xcode, go to preferences, and explore the different panes: there's 
one that
will let you install the command line tools.

If that was the issue - then after installing the command line tools you 
should be
able to run configure without the two options below.

Hope this helps,

-- daniel

On 3/18/13 7:56 AM, Peter Zhelezniakov wrote:
> On Mar 18, 2013, at 3:41 AM, David Holmes <david.holmes at> wrote:
>> Are you trying to build OpenJDK or Oracle JDK?
> Oracle JDK -- I have jdk/make/closed and jdk/src/closed.
> I've parsed the output of --debug-configure, and realised I need the --enable-macosx-runtime-support option. With this option, configure requires neither X11 nor freetype. However, the build still fails without X headers. So the complete command line that led to successful build for me was:
> bash ./configure \
> --x-includes=/Applications/ \
> --x-libraries=/Applications/  \
> --enable-macosx-runtime-support
> Thanks!

More information about the build-dev mailing list