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

PostGIS trac at osgeo.org
Fri Jun 27 08:59:20 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:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 As strk noted we need that include to get the version number.  I was able
 to get things to compile by changing:

 line 901 of configure.ac from

 {{{
 CPPFLAGS="$PGSQL_CPPFLAGS $GEOS_CPPFLAGS $PROJ_CPPFLAGS $XML2_CPPFLAGS
 $SFCGAL_CPPFLAGS $CPPFLAGS"
 }}}

 to

 {{{
 CPPFLAGS="$PGSQL_CPPFLAGS $GEOS_CPPFLAGS $PROJ_CPPFLAGS $XML2_CPPFLAGS
 $SFCGAL_CPPFLAGS $JSON_CPPFLAGS $CPPFLAGS"
 }}}

 still regress checking and if all are in agreement I'll go ahead and
 commit for 2.0-2.2

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2783#comment:3>
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