Changes between Version 115 and Version 116 of DevWikiWinMingW64
- Timestamp:
- 03/11/12 18:51:57 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiWinMingW64
v115 v116 352 352 {{{ 353 353 export PROJECTS=/c/ming64/projects 354 export PG_VER=91 355 export PGWINVER=${PG_VER}edb 354 356 # had to override the paths since cunit was picking up 32-bit junk and crashing 355 357 export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/c/ming64/mingw64/include" 356 358 export PATH="${PATHOLD}:${PROJECTS}/pgx64/pg${PG_VER}/bin:${PROJECTS}/pgx64/pg${PG_VER}/lib" 357 cd /c/projects 359 #needed to build comments and shp2pgsql-gui 360 export PATH="${PATH}:${PROJECTS}/xsltproc:${PROJECTS}/gtk/bin" 361 export POSTGIS_SRC=${PROJECTS}/postgis/postgis-${POSTGIS_MICRO_VER} 362 cd /c/ming64/projects 358 363 mkdir postgis 359 364 cd postgis 360 wget http://www.postgis.org/download/postgis-2.0.0beta2SVN.tar.gz 361 tar xvf postgis-2.0.0beta2SVN 362 cd postgis-2.0.0beta2SVN 363 CPPFLAGS="-I/c/projects/pgx64/pg91/include" LDFLAGS="-L/c/projects/pgx64/pg91/lib" ./configure \ 365 wget http://www.postgis.org/download/postgis-${POSTGIS_MICRO_VER}.tar.gz 366 tar xvf postgis-${POSTGIS_MICRO_VER}.tar.gz 367 cd ${POSTGIS_SRC} 368 369 CPPFLAGS="-I${PROJECTS}/pgx64/pg${PG_VER}/include" LDFLAGS="-L${PROJECTS}/pgx64/pg${PG_VER}/lib -L${PROJECTS}/gdal/rel-${GDAL_VER}/lib" ./configure \ 364 370 --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 \ 365 371 --with-xml2config=/c/projects/libxml/rel-libxml2-2.7.8w64/bin/xml2-config \ 366 --with-pgconfig= /c/projects/pgx64/pg91/bin/pg_config \372 --with-pgconfig==${PROJECTS}/pgx64/pg${PG_VER}/bin/pg_config \ 367 373 --with-geosconfig=/c/projects/geos/rel-3.3.3vcc64/bin/geos-config \ 368 374 --with-projdir=/c/projects/proj/rel-4.7.0w64 \ 369 375 --with-gdalconfig=/c/projects/gdal/rel-1.9.0w64/bin/gdal-config \ 370 376 --with-jsondir=/c/projects/json-c/rel-0.9w64 \ 371 --with-libiconv=/c/projects/rel-libiconv-1.13.1w64 --with-g ettext=no377 --with-libiconv=/c/projects/rel-libiconv-1.13.1w64 --with-gui --with-gettext=no 372 378 }}} 373 379 … … 377 383 #In my case I got this: 378 384 {{{ 379 In file included from c:/ projects/json-c/rel-0.9w64/include/json/json_util.h:1385 In file included from c:/ming64/projects/json-c/rel-0.9w64/include/json/json_util.h:1 380 386 381 387 from c:/projects/json-c/rel-0.9w64/include/json/json.h:23, 382 388 from lwgeom_in_geojson.c:31: 383 c:/ projects/json-c/rel-0.9w64/include/json/json_object.h:32: error: conflictin389 c:/ming64/projects/json-c/rel-0.9w64/include/json/json_object.h:32: error: conflictin 384 390 types for 'boolean' 385 391 c:\mingw\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w6