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'

Erik Joelsson erik.joelsson at oracle.com
Mon Feb 12 18:47:05 UTC 2018


Hello,

I just tried this myself and configure is automatically picking up my 
freetype from brew in /usr/local/opt/freetype/. Looking at my log, this 
is done using pkg-config from brew. So you could try installing 
pkg-config (brew install pkg-config). You can also try adding 
--with-freetype=/usr/local/opt/freetype if that's where brew installed 
it for you.

/Erik


On 2018-02-11 22:51, mbl wrote:
> 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