freetype configure problem in JDK 8 build

Eric Caspole eric.caspole at amd.com
Fri Oct 25 14:39:20 UTC 2013


Hi JDK build folks,
Since yesterday I am having trouble to build the JDK 8 on a machine 
where I have been building it OK for months. There is some new configure 
error with freetype, see below. My build system is running Ubuntu 12.04. 
I have not updated any system packages lately as far as I can remember.

I see in the log there were some changes to freetype configure handling 
this week.
https://bugs.openjdk.java.net/browse/JDK-8001922

Any ideas?
Thanks,
Eric


$ uname -a
Linux ecaspole-desktop 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 
16:21:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ sh ./configure --with-debug-level=fastdebug 
--with-boot-jdk=/opt/jdk1.7.0_25
Running generated-configure.sh
configure: Configuration created at Thu Oct 24 17:34:11 EDT 2013.
configure: configure script generated at timestamp 1382540536.
checking for basename... /usr/bin/basename
checking for bash... /bin/bash
checking for cat... /bin/cat
...
checking for FREETYPE... yes
checking for freetype... yes (using pkg-config)
checking if we can compile and link with freetype... no
configure: Could not compile and link with freetype. This might be a 
32/64-bit mismatch.
configure: Using FREETYPE_CFLAGS=-I/usr/include/freetype2   and 
FREETYPE_LIBS=-lfreetype
configure: error: Can not continue without freetype. You might be able 
to fix this by running 'sudo apt-get install libfreetype6-dev'.
configure exiting with result code 1



I do have a version of freetype, and I have never before had to add a 
"--with-freetype" on linux:


$ dpkg --list | grep freetyp
ii  libfreetype6                           2.4.8-1ubuntu2.1 
            FreeType 2 font engine, shared library files
ii  libfreetype6-dev                       2.4.8-1ubuntu2.1 
            FreeType 2 font engine, development files




More information about the build-dev mailing list