On 10/25/13 07:39 AM, Eric Caspole wrote:
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
There is a fix for later gccs such as what your Ubuntu system has:
JDK-8027300 "configure should use LIBS instead of LDFLAGS when testing
freetype"
https://bugs.openjdk.java.net/browse/JDK-8027300
Check the email threads here:
http://mail.openjdk.java.net/pipermail/build-dev/2013-October/010856.html
http://mail.openjdk.java.net/pipermail/build-dev/2013-October/010867.html
The fix went into the jdk8/build forest about two hours ago:
http://hg.openjdk.java.net/jdk8/build/rev/72ef61df77e5
Hope this helps-
Tim
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