Reputation: 21
I am compiling JDK8 at Ubuntu 16.04 LTS,(Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-91-generic x86_64)),there is a error make me Confused,when i do./bash configure
,the error is
configure: error: Could not find freetype! You might be able to fix this by running 'sudo apt-get install libfreetype6-dev'. configure exiting with result code 1
but when i do the sudo apt-get install libfreetype6-dev
,ubuntu tell freetype is already installed like this
ubuntu@VM-137-125-ubuntu:~/openjdk$ sudo apt-get install libfreetype6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.3).
0 upgraded, 0 newly installed, 0 to remove and 225 not upgraded.
Upvotes: 2
Views: 4023
Reputation: 1
Even much simpler, this also works:
/configure --with-freetype=/usr
Upvotes: 0