Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 22:36:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192840] json-c 0.12 breaks gdal and postgis
Message-ID:  <bug-192840-13-8lMKBHe8nq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192840-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192840-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192840

--- Comment #2 from Luca Corti <luca.corti@infinito.it> ---
/usr/ports/databases/postgis21 # make reinstall
===>   postgis-2.1.0_6 depends on executable: gmake - found
===>   postgis-2.1.0_6 depends on executable: pkgconf - found
===>   postgis-2.1.0_6 depends on file: /usr/local/bin/perl5.16.3 - found
===>   postgis-2.1.0_6 depends on shared library: libproj.so - found
(/usr/local/lib/libproj.so.7)
===>   postgis-2.1.0_6 depends on shared library: libgeos.so - found
(/usr/local/lib/libgeos-3.4.2.so)
===>   postgis-2.1.0_6 depends on shared library: libjson.so - not found
===>    Verifying for libjson.so in /usr/ports/devel/json-c
===>  Installing for json-c-0.12
===>   Registering installation for json-c-0.12 as automatic
===>   Returning to build of postgis-2.1.0_6
===>   postgis-2.1.0_6 depends on shared library: libgdal.so - found
(/usr/local/lib/libgdal.so.1.11.0)
===>   postgis-2.1.0_6 depends on shared library: libiconv.so.3 - found
(/usr/local/lib/libiconv.so.3)
===>   postgis-2.1.0_6 depends on shared library: libpq.so.5 - found
(/usr/local/lib/libpq.so.5)
===>   postgis-2.1.0_6 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so.2.9.1)
===>  Configuring for postgis-2.1.0_6
===>   FreeBSD 10 autotools fix applied to
/usr/ports/databases/postgis21/work/postgis-2.1.0/config.rpath
===>   FreeBSD 10 autotools fix applied to
/usr/ports/databases/postgis21/work/postgis-2.1.0/aclocal.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/databases/postgis21/work/postgis-2.1.0/libtool
===>   FreeBSD 10 autotools fix applied to
/usr/ports/databases/postgis21/work/postgis-2.1.0/configure
===>   FreeBSD 10 autotools fix applied to
/usr/ports/databases/postgis21/work/postgis-2.1.0/macros/libtool.m4

  ======================= GEOS Support Notice ========================
  In order to use the GEOS support, you may need to specially compile
  your version of PostgreSQL to link the C++ runtime library.
  To do this, invoke the PostgreSQL Makefile script this way:

  on csh shell:

  setenv LDFLAGS -lstdc++
  make

  on sh or bash shell:

  export LDFLAGS=-lstdc++
  make

  The initial LDFLAGS variable is passed through to the Makefile and
  adds the C++ library to the linking stage.

  ====================================================================

configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... cpp
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for ant... no
checking for cpp... /usr/bin/cpp
checking if c++ supports -Wall... yes
checking if c++ supports -Wmissing-prototypes... yes
checking if c++ supports -ffloat-store... no
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for vasprintf... (cached) yes
checking for asprintf... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for perl... (cached) /usr/local/bin/perl
checking for convert... no
configure: WARNING: ImageMagick does not seem to be installed. Documentation
cannot be built
checking for xsltproc... /usr/local/bin/xsltproc
checking for xmllint... /usr/local/bin/xmllint
checking for dblatex... no
configure: WARNING: dblatex is not installed so PDF documentation cannot be
built
configure: WARNING: could not locate Docbook stylesheets required to build the
documentation
checking CUnit/CUnit.h usability... no
checking CUnit/CUnit.h presence... no
checking for CUnit/CUnit.h... no
configure: WARNING: could not locate CUnit required for unit tests
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for libiconv_open in -liconv... yes
checking for iconvctl... yes
checking for libiconvctl... no
checking for pg_config... /usr/local/bin/pg_config
checking PostgreSQL version... PostgreSQL 9.3.5
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQserverVersion in -lpq... yes
------------------------------------------------------------------------
  WARNING: You have set the --prefix to '/usr/local'. But we mostly    
  ignore the --prefix. For your info, using the values determined from 
  /usr/local/bin/pg_config we will be installing:   
    * postgis shared library in /usr/local/lib 
    * postgis SQL files in /usr/local/share/postgresql/contrib/postgis-2.1 
    * postgis executables in /usr/local/bin 
------------------------------------------------------------------------
checking for xml2-config... /usr/local/bin/xml2-config
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking libxml/xpath.h usability... yes
checking libxml/xpath.h presence... yes
checking for libxml/xpath.h... yes
checking libxml/xpathInternals.h usability... yes
checking libxml/xpathInternals.h presence... yes
checking for libxml/xpathInternals.h... yes
checking for xmlInitParser in -lxml2... yes
checking for geos-config... /usr/local/bin/geos-config
checking GEOS version... 3.4.2
checking geos_c.h usability... yes
checking geos_c.h presence... yes
checking for geos_c.h... yes
checking for initGEOS in -lgeos_c... yes
checking whether gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath
-Wl,/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib
checking proj_api.h usability... yes
checking proj_api.h presence... no
configure: WARNING: proj_api.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: proj_api.h: proceeding with the compiler's result
checking for proj_api.h... yes
checking for pj_get_release in -lproj... yes
checking json/json.h usability... no
checking json/json.h presence... no
checking for json/json.h... no
checking for json_object_get in -ljson-c... yes
GUI: Build requested, checking for dependencies (GKT+2.0)
checking for pkg-config... /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.8.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
CPPFLAGS:  -I/usr/local/include  -I/usr/local/include/libxml2 -I/usr/include 
-I/usr/local/include
TOPOLOGY: Topology support requested
RASTER: Raster support requested
checking GDAL version... 1.11.0
checking for OGR enabled... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking ogr_api.h usability... yes
checking ogr_api.h presence... yes
checking for ogr_api.h... yes
checking cpl_conv.h usability... yes
checking cpl_conv.h presence... yes
checking for cpl_conv.h... yes
checking for library containing GDALAllRegister... no
configure: error: could not find GDAL
===>  Script "configure" failed unexpectedly.
Please report the problem to trevor@bitba.se [maintainer] and attach the
"/usr/ports/databases/postgis21/work/postgis-2.1.0/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[2]: stopped in /usr/ports/databases/postgis21
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/postgis21
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgis21

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192840-13-8lMKBHe8nq>