On Mar 18, 2013, at 3:41 AM, David Holmes <david.hol...@oracle.com> 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/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/include
 \
--x-libraries=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib
  \
--enable-macosx-runtime-support

Thanks!
-- 
Peter


Reply via email to