Changes between Version 82 and Version 83 of DevWikiWinMingW64


Ignore:
Timestamp:
Mar 1, 2012, 9:06:22 AM (12 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingW64

    v82 v83  
    206206tar -xvf CUnit-2.1-2-src.tar.bz2
    207207cd CUnit-2.1.2
    208 ./configure --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32
     208#if you are building for 64-bit then use x86_64-w64-mingw32 for the build,host,target
     209#32 bit uses i686-w64-mingw32 for build, host, target
     210./configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
    209211make && make install
    210212}}}
     
    259261}}}
    260262
    261 
     263== Compiling JSON-C ==
     264This is needed if you want ST_GeomFromGeoJSON to be functional.
     265Download [http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz] and save to c:\projects\json-c
     266{{{
     267cd /c/projects/json-c
     268tar xvfz json-c-0.9.tar.gz
     269cd json-c-0.9
     270## had to compile with -w (disable warnings otherwise it gave errors
     271./configure --build=x86_64-w64-mingw32 \
     272 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 \
     273 --prefix=/c/projects/json-c/rel-0.9w64 CFLAGS=-w
     274make clean
     275make
     276make install
     277}}}
     278
     279== Compiling PostGIS 2.0 ==
     280
     281{{{
     282cd /c/projects
     283mkdir postgis
     284cd postgis
     285wget http://www.postgis.org/download/postgis-2.0.0beta2SVN.tar.gz
     286tar xvf postgis-2.0.0beta2SVN
     287cd postgis-2.0.0beta2SVN
     288CPPFLAGS="-I/c/projects/pgx64/pg91/include" LDFLAGS="-L/c/projects/pgx64/pg91/lib" ./configure \
     289  --with-xml2config=/c/projects/libxml/rel-libxml2-2.7.8w64/bin/xml2-config \
     290  --with-pgconfig=/c/projects/pgx64/pg91/bin/pg_config \
     291  --with-geosconfig=/c/projects/geos/rel-3.3.3vcc64/bin/geos-config \
     292  --with-projdir=/c/projects/proj/rel-4.7.0w64 \
     293  --with-gdalconfig=/c/projects/gdal/rel-1.9.0w64/bin/gdal-config \
     294  --with-jsondir=/c/projects/json-c/rel-0.9w64 \
     295
     296make
     297make check
     298make install
     299}}}