Changes between Version 27 and Version 28 of DevWikiWinMingWSys_20


Ignore:
Timestamp:
Nov 28, 2011, 4:07:40 AM (12 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20

    v27 v28  
    339339make install
    340340}}}
    341 #this part is a hack, but again didn't work without it
    342 #you can try without doing this, but if you get errors about
    343 # conflicting type def during PostGIS compile, you need this.
    344 #In my case I got this:
    345 {{{c:/projects/json-c/rel-0.9/include/json/json_object.h:32: error: conflicting types for 'boolean'
    346 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h:52: error: previous declaration of 'boolean' was here}}}
    347 
    348  * Open up /c/projects/json-c/rel-0.9/include/json/json_object.h
    349  * remark out line 32 that reads {{{ typedef int boolean }}}
    350  * so it should now read {{{ /** typedef int boolean; **/ }}}
    351341
    352342== 18. Compiling PostGIS ==
     
    399389# make check
    400390}}}
     391
     392#this part is a hack, but again didn't work without it
     393#you can try without doing this, but if you get errors about
     394# conflicting type def during PostGIS compile, you need this.
     395#In my case I got this:
     396{{{c:/projects/json-c/rel-0.9/include/json/json_object.h:32: error: conflicting types for 'boolean'
     397C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h:52: error: previous declaration of 'boolean' was here}}}
     398
     399 * Open up /c/projects/json-c/rel-0.9/include/json/json_object.h
     400 * remark out line 32 that reads {{{ typedef int boolean }}}
     401 * so it should now read {{{ /** typedef int boolean; **/ }}}
     402 * During the PostGIS configure process, you have to put this back the way it was otherwise configure complains json.h or something is not usable and refuses to configure with JSON-C support. Then you remark the line out again during compile.  Crazy I know, but json-c won't compile without that line so can't take it out before json-c compile.
    401403
    402404If you run into problems with your build, pipe the output into a file for further analysis. The GUI requires that pkg-config be on your PATH, check that it is there by running 'which pkg-config'.