Opened 10 years ago

Closed 10 years ago

#2757 closed defect (duplicate)

postgis-2.1.3 compile failed with json-c-0.12

Reported by: declanqian Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.4
Component: postgis Version: 2.1.x
Keywords: Cc:


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.

Change History (1)

comment:1 by robe, 10 years ago

Milestone: PostGIS 2.1.4
Resolution: duplicate
Status: newclosed

this is the same as issue #2723

There is a patch on that ticket and we'll have a fix for 2.1.4 (and also note in docs for earlier)

Note: See TracTickets for help on using tickets.