[aarch64-port-dev ] failed to build JDK9

Edward Nevill edward.nevill at linaro.org
Thu Jun 18 09:35:37 UTC 2015


Hi,

I can successfully build jdk9 on ubuntu 14.04.

You may like to try initially building openjdk-7 as follows to ensure all
the dependancies are correct for openjdk-7.

apt-get source openjdk-7-jdk
cd openjdk-7-7u51-2.4.6 (name may vary slightly)
dpkg-buildpackage 2>&1 | tee ../log

If any dependancies are missing this will tell you exactly what packages to
install.

Once the dependancies are correct for openjdk-7 then you can retry jdk9.

Note that in order to build jdk9 you will need to have jdk8 installed.

You can download a pre-built binary from http://openjdk.linaro.org (follow
the releases tab).

All the best,
Edward Nevill


On 18 June 2015 at 08:08, Tangwei (Euler) <tangwei6 at huawei.com> wrote:

> Hi All,
>   I cloned the latest openJDK9 for aarch64 on Ubuntu and failed to
> configure with following error message.
> Anyone knows how to solve this issue? From the message, it suggested to
> install libfreetype6-dev,
> but the library has already been installed.
>
> 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
>
>
> Regards!
> wei
>


More information about the aarch64-port-dev mailing list