Changes between Version 103 and Version 104 of UsersWikiWinCompile
- Timestamp:
- 12/09/09 13:48:01 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiWinCompile
v103 v104 10 10 Msys: c:\msys[[BR]] 11 11 sources c:\thesrc[[BR]] 12 installdirectory for postgresql: c:\postgres ql12 installdirectory for postgresql: c:\postgres 13 13 14 14 == Useful Utilities == … … 280 280 # cd postgis-1.4.1 281 281 # ./configure \ 282 --prefix=/c/postgres ql\283 --with-pgconfig=/c/postgres ql/bin/pg_config \284 --with-geosconfig=/c/postgres ql/bin/geos-config \285 --with-projdir=/c/postgres ql\282 --prefix=/c/postgres \ 283 --with-pgconfig=/c/postgres/bin/pg_config \ 284 --with-geosconfig=/c/postgres/bin/geos-config \ 285 --with-projdir=/c/postgres \ 286 286 --with-gui 287 287 # export PATH=/c/postgres/bin:$PATH … … 303 303 304 304 1. Copy the following files into your Windows PostgreSQL lib folder 305 * C:\postgres ql\lib\postgis-1.4.dll305 * C:\postgres\lib\postgis-1.4.dll 306 306 2. Copy the following files into your Windows PostgreSQL bin folder. 307 * C:\postgres ql\bin\libgeos-3-1-1.dll308 * C:\postgres ql\bin\libgeos_c-1.dll309 * C:\postgres ql\bin\libproj.dll,310 * C:\postgres ql\bin\libiconv-2.dll311 * C:\postgres ql\bin\shp2pgsql.exe312 * C:\postgres ql\bin\pgsql2shp.exe307 * C:\postgres\bin\libgeos-3-1-1.dll 308 * C:\postgres\bin\libgeos_c-1.dll 309 * C:\postgres\bin\libproj.dll, 310 * C:\postgres\bin\libiconv-2.dll 311 * C:\postgres\bin\shp2pgsql.exe 312 * C:\postgres\bin\pgsql2shp.exe 313 313 3. Copy the proj datum shift files to the PostgreSQL share/contrib/postgis/proj 314 314 4. Open PGAdmin and make a new database without any template 315 315 5. Open a new query-window to your new database 316 6. Run postgis.sql and spatial_ref_sys.sql from C:\postgres ql\share\contrib\316 6. Run postgis.sql and spatial_ref_sys.sql from C:\postgres\share\contrib\ 317 317 318 318 Hopefully you now have a database running your recently compiled postgis.