[postgis-tickets] [PostGIS] #2783: Getting compile error when compiling against json 0.10 in mingw64

PostGIS trac at osgeo.org
Wed Jun 25 09:50:58 PDT 2014


#2783: Getting compile error when compiling against json 0.10 in mingw64
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.2.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I forget if this was after strk's change or pramsey's change.

 Winnie is exhibiting this error:

 configure part for json looks like


 {{{
 Using user-specified proj directory: /projects/proj/rel-4.8.0w32gcc48
 checking proj_api.h usability... yes
 checking proj_api.h presence... yes
 checking for proj_api.h... yes
 checking for pj_get_release in -lproj... yes
 Using user-specified json-c directory: /projects/json-c/rel-0.10w32gcc48
 checking json/json.h usability... yes
 checking json/json.h presence... yes
 checking for json/json.h... yes
 checking for json_object_get in -ljson-c... no
 checking for json_object_get in -ljson... yes
 }}}

 {{{
 lwgeom_in_geojson.c:24:25: fatal error: json/json.h: No such file or
 directory
  #  include <json/json.h>
                          ^
 compilation terminated.
 <builtin>: recipe for target `lwgeom_in_geojson.o' failed
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2783>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list