macOS High Sierra, version 10.13.2 configure: error: Could not find freetype! You might be able to fix this by running 'brew install freetype'

mbl maobaolong at 139.com
Mon Feb 12 06:51:53 UTC 2018


OS: macOS High Sierra, version 10.13.2
Repo : https://github.com/dmlloyd/openjdk.git
Branch : jdk/jdk

mbldeMacBook-Pro:openjdk mbl$ bash ./configure --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk9.0.4.jdk/Home
configure: Configuration created at Mon Feb 12 14:43:36 CST 2018.
configure: error: Could not find freetype! You might be able to fix this by running 'brew install freetype'.
/projects/jdpros/openjdk/.build/generated-configure.sh: line 82: 5: Bad file descriptor
configure exiting with result code 1
mbldeMacBook-Pro:openjdk mbl$ sudo brew install freetype
Password:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
mbldeMacBook-Pro:openjdk mbl$ brew install freetype
Updating Homebrew...
Warning: freetype 2.9 is already installed


What can I do?


More information about the build-dev mailing list