postgis-2.1.3 compile failed with json-c-0.12
|Reported by:||declanqian||Owned by:||pramsey|
when I try to compile the PostGIS 2.13 with json-c-0.12, it keep saying that: can't find json dev file… and it end up with no json support. When I was trying to build it with json-c-0.9. it works fine. Here is my ./configure:
./configure —with-pgconfig=/alidata1/Applications/PostgreSQL/9.3.4/bin/pg_config —with-gdalconfig=/alidata1/Applications/gdal/1.11.0/bin/gdal-config —with-geosconfig=/alidata1/Applications/geos/3.4.2/bin/geos-config —with-projdir=/alidata1/Applications/proj/4.8.0/ —with-libiconv=/alidata1/Applications/libiconv/1.14/ —with-jsondir=/alidata1/Applications/json-c/0.9 —with-raster —with-topology —with-gettext=no —with-sfcgal=/alidata1/bin/
I guess it maybe a bug, and it should be pointed out on the somewhere, may be the docs or the webpage.