Changes between Version 3 and Version 4 of DevWikiWinMingWSys_20


Ignore:
Timestamp:
Oct 4, 2010, 9:09:10 AM (14 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20

    v3 v4  
    156156# make install
    157157}}}
     158
     159* copy to C:\projects\pg\pg90\bin\libpq.dll from C:\projects\pg\pg90\lib
    158160If you want to be able to do a full make check on PostGIS, [UsersWikiWinCompileInitdb Initialize the postgresql database cluster] first.
    159161   
     
    258260Unzip the bundle in c:\gtkbundle and then alter the system PATH so that c:\gtkbundle\bin is in the PATH.
    259261
    260 == 15. Compiling PostGIS ==
     262== 15. Compiling GDAL ==
     263
     264== 16. Compiling PostGIS ==
    261265
    262266=== PostGIS 2.0 ===
    263267{{{
    264 # tar xvfz postgis-1.5.0.tar.gz
    265 # cd postgis-1.5.0
    266 
     268# cd /c/project/postgis
     269# tar xvfz postgis-2.0.0SVN.tar.gz
     270# cd postgis-2.0.0SVN
     271export PATH="/c/gtk/bin:$PATH"
     272export PATH="/c/projects/pg/pg90/bin/:$PATH"
     273export PGPORT=5439
    267274# ./configure \
    268      --prefix=/c/postgres \
     275     --prefix=/c/projects/pg/pg90 \
    269276     --with-xml2config=/c/projects/libxml/libxml2-2.7.6release/bin/xml2-config \
    270      --with-pgconfig=/c/postgres/bin/pg_config \
    271      --with-geosconfig=/c/postgres/bin/geos-config \
    272      --with-projdir=/c/postgres \
     277     --with-pgconfig=/c/pg/pg90/bin/pg_config \
     278     --with-geosconfig=/c/projects/geos/rel-3.3.0/bin/geos-config \
     279     --with-projdir=/c/projects/proj/rel-4.6.1 \
     280     --with-gdal=/c/projects/gdal/rel-1.8/gdal-config
    273281     --with-gui
    274282
    275 # export PATH=/c/postgres/bin:$PATH
    276283# make clean
    277284# make
     
    303310   * C:\projects\geos\rel-3.3.0\bin\libgeos_c-1.dll
    304311   * C:\projects\proj\rel-4.4.6\bin\libproj.dll,
    305    * C:\postgres\bin\libiconv-2.dll (from C:\MinGW\bin)
    306    * C:\postgres\bin\libpq.dll (from C:\postgres\lib)
    307    * C:\postgres\bin\shp2pgsql.exe
    308    * C:\postgres\bin\pgsql2shp.exe
     312   * libiconv-2.dll (from C:\MinGW\bin)
     313   * C:\projects\pg90\bin\shp2pgsql.exe
     314   * C:\projects\pg90\bin\pgsql2shp.exe
     315   * C:\projects\gdal\rel-trunk\lib\libgdal.dll
    309316 3. If you compiled with-gui - you need to also copy the following files to PostgreSQL bin folder
    310317   * shp2pgsql-gui.exe