java/openjdk11 build faiiling

Jonathan Chen jonc at chen.org.nz
Fri Mar 15 08:16:50 UTC 2019


Hi,

I'm trying to build java/openjdk11 with synth, and I'm getting:

checking for PNG... checking for which libpng to use... system not found
configure: error: --with-libpng=system specified, but no libpng found!
configure exiting with result code 1
===>  Script "configure" failed unexpectedly.
Please report the problem to java at FreeBSD.org [maintainer] and attach the
"/construction/xports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.2-9-1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /xports/java/openjdk11


However, the synth build logs indicate that:
===>   Installing existing package /packages/All/png-1.6.36.txz
Installing png-1.6.36...
Extracting png-1.6.36: .......... done
===>   openjdk11-11.0.2.9.1 depends on shared library: libpng16.so -
found (/usr/local/lib/libpng16.so)

The config.log has:
[...]
configure:59674: checking for DGifGetCode in -lgif
configure:59699: /usr/bin/c++ -o conftest -m64  -I/usr/local/include
-m64  -L/usr/local/lib conftest.cpp -lgif  -ljpeg  >&5
configure:59699: $? = 0
configure:59708: result: yes
configure:59739: checking for PNG
configure:59804: checking for which libpng to use
configure:59827: result: system not found
configure:59829: error: --with-libpng=system specified, but no libpng found!

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-java mailing list