It's related to json version. Which version are you building with?
I suspect you are running a newer json. This should be fixed in 2.1.4 (2.1 trunk) If you are building from source anyway, you might want to use our 2.1.4dev or cut in the fix from http://trac.osgeo.org/postgis/ticket/2723 Hope that helps, Regina http://www.postgis.us http://postgis.net -----Original Message----- From: postgis-users-boun...@lists.osgeo.org [mailto:postgis-users-boun...@lists.osgeo.org] On Behalf Of Gery . Sent: Saturday, August 16, 2014 8:50 AM To: postgis-users@lists.osgeo.org Subject: [postgis-users] FW: json/json.h: No such file or directory Hello, I just received this after 'make' in version 2.1.3: libtool: compile: gcc -g -O2 -DDLL_EXPORT -DPIC -Wall -Wmissing-prototypes -I/usr/local/include -c lwin_geojson.c -DDLL_EXPORT -DPIC -o .libs/lwin_geojson.o lwin_geojson.c:20:23: fatal error: json/json.h: No such file or directory #include <json/json.h> ^ compilation terminated. Makefile:156: recipe for target 'lwin_geojson.lo' failed make[1]: *** [lwin_geojson.lo] Error 1 make[1]: Leaving directory '/opt/postgis/postgis-2.1.3/liblwgeom' GNUmakefile:14: recipe for target 'all' failed make: *** [all] Error 1 I read that this is a problem related to Geos 3.4.2. My configuration is: -------------- Compiler Info ------------- C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 SQL preprocessor: /usr/bin/cpp -w -traditional-cpp -P -------------- Dependencies -------------- GEOS config: /usr/local/bin/geos-config GEOS version: 3.4.2 GDAL config: /usr/local/bin/gdal-config GDAL version: 1.11.0 PostgreSQL config: /usr/bin/pg_config PostgreSQL version: PostgreSQL 9.3.5 PROJ4 version: 46 Libxml2 config: /usr/bin/xml2-config Libxml2 version: 2.9.1 JSON-C support: yes PostGIS debug level: 0 Perl: /usr/bin/perl --------------- Extensions --------------- PostGIS Raster: enabled PostGIS Topology: enabled SFCGAL support: disabled -------- Documentation Generation -------- xsltproc: /usr/bin/xsltproc xsl style sheets: /usr/share/sgml/docbook/xsl-stylesheets dblatex: /usr/bin/dblatex convert: /usr/bin/convert mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd How can I circumvent this json/json.h problem and finish the installation of postgis? Gery _______________________________________________ postgis-users mailing list postgis-users@lists.osgeo.org http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@lists.osgeo.org http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users