Building on Mac

David Holmes david.holmes at oracle.com
Sun Mar 17 23:41:09 UTC 2013


Hi Peter,

On 12/03/2013 6:06 PM, Peter Zhelezniakov wrote:
> Hello,
> I'm trying to build jdk8 on Mac, cannot get past the configuration step.

Are you trying to build OpenJDK or Oracle JDK? There are a number of 
differences in the build requirements and processes. If the closed repos 
are found you will default to Oracle JDK, else OpenJDK.

David Holmes

> First configure asked for X11, which I believe is not needed on Mac. I worked around with --x-libraries. Then it stumbled upon freetype, which it should not need either. I added --with-freetype, but it failed to recognise .dylib as the library suffix:
>
> configure: error: Could not find libfreetype.so nor freetype.dll in /opt/local/lib
>
> Any advice?
> Thanks!
>



More information about the build-dev mailing list