Building on Mac
david.dehaven at oracle.com
Fri Mar 15 18:53:02 UTC 2013
> 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
IIRC Freetype is required for libfontmanager when building OpenJDK (not closed) but it doesn't seem to differentiate when configure is run.
Look in config.log to see why it's failing. The error message is misleading, it's not actually looking for those extensions it's checking by using the CFLAGS returned by pkg-config. Mine works fine with the MacPorts freetype port.
More information about the build-dev