Changes between Version 10 and Version 11 of DevWikiWinMingWSys_20


Ignore:
Timestamp:
03/28/11 10:50:08 (14 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20

    v10 v11  
    209209
    210210{{{
    211 # cd /c/projects/proj
    212 # tar xvfz proj-4.6.1.tar.gz
    213 # cd proj-4.6.1
    214 # cd nad
    215 # unzip ../../proj-datumgrid-1.5.zip
    216 # cd ..
    217 # ./configure --prefix=/c/postgres --enable-shared --disable-static
    218 # make
    219 # make install
     211 cd /c/projects/proj
     212 tar xvfz proj-4.6.1.tar.gz
     213 cd proj-4.6.1
     214 cd nad
     215 unzip ../../proj-datumgrid-1.5.zip
     216 cd ..
     217 ./configure --prefix=/c/postgres --enable-shared --disable-static
     218 make
     219 make install
    220220}}}
    221221Make the libproj.dll and make it dynamically linked
    222222{{{
    223 # cd /c/postgres/lib
    224 # gcc -shared -o libproj.dll -Wl,--out-implib=libproj.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive libproj.a -Wl,--no-whole-archive /c/mingw/lib/libmingw32.a
     223 cd /c/postgres/lib
     224 gcc -shared -o libproj.dll -Wl,--out-implib=libproj.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive libproj.a -Wl,--no-whole-archive /c/mingw/lib/libmingw32.a
    225225}}}
    226226
     
    271271=== PostGIS 2.0 ===
    272272{{{
    273 # cd /c/project/postgis
    274 # tar xvfz postgis-2.0.0SVN.tar.gz
    275 # cd postgis-2.0.0SVN
     273 cd /c/project/postgis
     274 tar xvfz postgis-2.0.0SVN.tar.gz
     275 cd postgis-2.0.0SVN
     276}}
     277
     278There is a bug not yet fixed in PostGIS 2.0 that make the shp2pgsql not produced the
     279right output when there are schemas used refer to #748 for more details.  This seems to only affect Windows.  A quick
     280hack to fix that is:
     281
     282edit the loader/Makefile.in
     283and change the line
     284
     285{{{
     286nls_build = @USE_NLS@
     287}}}
     288
     289to
     290{{{
     291#nls_build = @USE_NLS@
     292}}}
     293
     294
     295{{{
    276296export PATH="/c/gtk/bin:$PATH"
    277297export PATH="/c/projects/pg/pg90/bin/:$PATH"
    278298export PGPORT=5439
    279 # ./configure \
     299 ./configure \
    280300     --prefix=/c/projects/pg/pg90 \
    281301     --with-xml2config=/c/projects/libxml/libxml2-2.7.6release/bin/xml2-config \
     
    286306     --with-gui
    287307
    288 # make clean
    289 # make
    290 # make install
     308 make clean
     309 make
     310 make install
    291311# make check
    292312}}}