jdk8 and MacOSX Mavericks XCode gcc

David DeHaven david.dehaven at oracle.com
Thu Oct 24 10:28:03 PDT 2013


> 5. No X11 header files causes compilation problems with AWT files.
> 
> /jdk/src/solaris/native/sun/awt/utility/rect.h: fatal error: 'X11/Xlib.h' file not found
> jdk/src/solaris/native/sun/awt/awt.h:38:10: fatal error: 'X11/Intrinsic.h' file not found

XQuartz installs to /opt/X11 (outside of the "Apple wants to be Apple-only" /usr realm), which is on the search list for configure.

Note that X11 will be disabled soon (as soon as I can find a sponsor to push the changes) but the dependency will not be completely removed until a later date (not enough time for that :(. I haven't checked to see if there would be any compilation errors, that would be a worthwhile experiment.

The changes are here if you want to try them:
http://cr.openjdk.java.net/~ddehaven/8016096/
http://cr.openjdk.java.net/~ddehaven/8025673/

Those are against jdk8/build since it has the CompileNativeLibraries split. The former requires the latter or the build will fail.

-DrD-



More information about the jdk8-dev mailing list