Changes between Version 115 and Version 116 of DevWikiWinMingW64


Ignore:
Timestamp:
Mar 11, 2012, 6:51:57 PM (12 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingW64

    v115 v116  
    352352{{{
    353353export PROJECTS=/c/ming64/projects
     354export PG_VER=91
     355export PGWINVER=${PG_VER}edb
    354356# had to override the paths since cunit was picking up 32-bit junk and crashing
    355357export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/c/ming64/mingw64/include"
    356358export 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
     360export PATH="${PATH}:${PROJECTS}/xsltproc:${PROJECTS}/gtk/bin"
     361export POSTGIS_SRC=${PROJECTS}/postgis/postgis-${POSTGIS_MICRO_VER}
     362cd /c/ming64/projects
    358363mkdir postgis
    359364cd 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 \
     365wget http://www.postgis.org/download/postgis-${POSTGIS_MICRO_VER}.tar.gz
     366tar xvf postgis-${POSTGIS_MICRO_VER}.tar.gz
     367cd ${POSTGIS_SRC}
     368
     369CPPFLAGS="-I${PROJECTS}/pgx64/pg${PG_VER}/include" LDFLAGS="-L${PROJECTS}/pgx64/pg${PG_VER}/lib -L${PROJECTS}/gdal/rel-${GDAL_VER}/lib"  ./configure \
    364370 --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 \
    365371  --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 \
    367373  --with-geosconfig=/c/projects/geos/rel-3.3.3vcc64/bin/geos-config \
    368374  --with-projdir=/c/projects/proj/rel-4.7.0w64 \
    369375  --with-gdalconfig=/c/projects/gdal/rel-1.9.0w64/bin/gdal-config \
    370376  --with-jsondir=/c/projects/json-c/rel-0.9w64 \
    371   --with-libiconv=/c/projects/rel-libiconv-1.13.1w64 --with-gettext=no
     377  --with-libiconv=/c/projects/rel-libiconv-1.13.1w64 --with-gui --with-gettext=no
    372378}}}
    373379
     
    377383#In my case I got this:
    378384{{{
    379 In file included from c:/projects/json-c/rel-0.9w64/include/json/json_util.h:1
     385In file included from c:/ming64/projects/json-c/rel-0.9w64/include/json/json_util.h:1
    380386
    381387                 from c:/projects/json-c/rel-0.9w64/include/json/json.h:23,
    382388                 from lwgeom_in_geojson.c:31:
    383 c:/projects/json-c/rel-0.9w64/include/json/json_object.h:32: error: conflictin
     389c:/ming64/projects/json-c/rel-0.9w64/include/json/json_object.h:32: error: conflictin
    384390types for 'boolean'
    385391c:\mingw\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w6