Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 21:16:30 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-java@freebsd.org
Subject:   java/openjdk11 build faiiling
Message-ID:  <CAJuc1zO=jwn3F6dvtuhy7Vx7JHyQduh0aLZhz2EXvfy2fQchxg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zO=jwn3F6dvtuhy7Vx7JHyQduh0aLZhz2EXvfy2fQchxg>