Build failures on OS X 10.9.3

Bernhard Urban bernhard.urban at
Mon Sep 29 11:16:22 UTC 2014

On Thu, Sep 25, 2014 at 1:15 AM, David DeHaven <david.dehaven at>

> >>> I suspect it'll be easier to just install gcc on your mac. The last
> time I
> >>> checked openjdk 8 didn't compile correctly with clang, so you might
> also
> >>> have to patch the source code as well as the autoconf scripts.
> >> So Apple are now shipping a compiler by default, but it's clang, which
> >> they've aliased to gcc, despite the fact that the binaries differ?
> >>
> >> So all the standard hacks from earlier OS versions where you test for
> >> the presence of certain binaries to see whether devtools are installed
> >> are now bust?
> >>
> >> Well, isn't that ... lovely?
> >>
> >> I'd be intruigued to know whether OpenJDK 9 will build with Clang, as
> >> the autoconf seems happy with the behaviour of "gcc". I might install
> >> the TrueType headers and see how far that gets.
> > OpenJDK 9 is supposed to compile properly with clang on macosx.
> Configure will auto-select clang if your Xcode version is >= N, for some
> number of N (I suspect 5, but I'm not sure).
> Correct, Xcode >= 5 will select clang as the compiler.
> Does Freetype detection use pkg-config? I've never had an issue building
> OpenJDK with MacPorts' Freetype installed.
> -DrD-

it looks like the configure script of OpenJDK 8 doesn't detect newer
versions of freetype.  I had problems with xquartz 2.7.6 (that contains
freetype 2.5.3), but xquartz 2.7.5 (containing freetype it worked
for me.

>From a quick look into the config.log it looks like that the directory
organization of the header files changed, and the OpenJDK8 configure script
is not aware of it.


More information about the build-dev mailing list