Changes between Version 10 and Version 11 of DevWikiWinMingWSys_20
- Timestamp:
- 03/28/11 10:50:08 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiWinMingWSys_20
v10 v11 209 209 210 210 {{{ 211 #cd /c/projects/proj212 #tar xvfz proj-4.6.1.tar.gz213 #cd proj-4.6.1214 #cd nad215 #unzip ../../proj-datumgrid-1.5.zip216 #cd ..217 #./configure --prefix=/c/postgres --enable-shared --disable-static218 #make219 #make install211 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 220 220 }}} 221 221 Make the libproj.dll and make it dynamically linked 222 222 {{{ 223 #cd /c/postgres/lib224 #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.a223 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 225 225 }}} 226 226 … … 271 271 === PostGIS 2.0 === 272 272 {{{ 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 278 There is a bug not yet fixed in PostGIS 2.0 that make the shp2pgsql not produced the 279 right output when there are schemas used refer to #748 for more details. This seems to only affect Windows. A quick 280 hack to fix that is: 281 282 edit the loader/Makefile.in 283 and change the line 284 285 {{{ 286 nls_build = @USE_NLS@ 287 }}} 288 289 to 290 {{{ 291 #nls_build = @USE_NLS@ 292 }}} 293 294 295 {{{ 276 296 export PATH="/c/gtk/bin:$PATH" 277 297 export PATH="/c/projects/pg/pg90/bin/:$PATH" 278 298 export PGPORT=5439 279 #./configure \299 ./configure \ 280 300 --prefix=/c/projects/pg/pg90 \ 281 301 --with-xml2config=/c/projects/libxml/libxml2-2.7.6release/bin/xml2-config \ … … 286 306 --with-gui 287 307 288 #make clean289 #make290 #make install308 make clean 309 make 310 make install 291 311 # make check 292 312 }}}