Date: Fri, 15 Mar 2019 18:05:24 -0700 From: Greg Lewis <glewis@eyesbeyond.com> To: Jonathan Chen <jonc@chen.org.nz> Cc: freebsd-java@freebsd.org Subject: Re: java/openjdk11 build faiiling Message-ID: <20190316010524.GA65278@misty.eyesbeyond.com> In-Reply-To: <CAJuc1zMG5EfhdibFBHg9x_b3DCforszorMkA7ynh6JiRO02u5w@mail.gmail.com> References: <CAJuc1zO=jwn3F6dvtuhy7Vx7JHyQduh0aLZhz2EXvfy2fQchxg@mail.gmail.com> <CAJuc1zMG5EfhdibFBHg9x_b3DCforszorMkA7ynh6JiRO02u5w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 16, 2019 at 09:12:50AM +1300, Jonathan Chen wrote: > On Fri, 15 Mar 2019 at 21:16, Jonathan Chen <jonc@chen.org.nz> wrote: > [...] > > 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! So here is what I get there: configure:59804: checking for which libpng to use configure:59824: result: system And later on in config.log I see pkg_cv_PNG_CFLAGS='-I/usr/local/include/libpng16 ' pkg_cv_PNG_LIBS='-L/usr/local/lib -lpng16 -lz ' and PNG_CFLAGS='-I/usr/local/include/libpng16 ' PNG_LIBS='-L/usr/local/lib -lpng16 -lz ' > In fact, the logs indicate that jpeg and gif weren't found easily either: > > checking for which libjpeg to use... system > checking jpeglib.h usability... yes > checking jpeglib.h presence... no > checking for jpeglib.h... yes > checking for jpeg_CreateDecompress in -ljpeg... configure: WARNING: > jpeglib.h: accepted by the compiler, rejected by the preprocessor! > configure: WARNING: jpeglib.h: proceeding with the compiler's result > yes > checking for which giflib to use... system > checking gif_lib.h usability... yes > checking gif_lib.h presence... no > configure: WARNING: gif_lib.h: accepted by the compiler, rejected by > the preprocessor! > configure: WARNING: gif_lib.h: proceeding with the compiler's result > checking for gif_lib.h... yes > checking for DGifGetCode in -lgif... yes > checking for PNG... checking for which libpng to use... system not found > Configure: error: --with-libpng=system specified, but no libpng found! I get similar things for jpeglib.h and gif_lib.h. That is because the preprocessor test doesn't pass -I/usr/local/include. > I'm still trying to figure out how the configure script gets invoked.. I'm not quite sure on what you mean by that? Do you mean by the ports system? If so, look at bsd.port.mk and also at the CONFIGURE_* variables in the Makefile. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190316010524.GA65278>