Version 2 (modified by 15 years ago) ( diff ) | ,
---|
Before you can install PostGIS 1.4 with the slick graphical interface for shp2pgsql, you need to install GTK++ 2.8 or above. This is still a work in progress — since I got as far as getting it to compile to .o but failed at the linker.
(If you got to this page before reading full install — refer to Compiling PostGIS under Windows (basic) 1. Install GTK++ Bundle
- Download GTK++ bundle described on this page http://www.gtk.org/download-windows.html.
The direct link is
(http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.2-20090601_win32.zip)
2. Compiling PostGIS SVN 1.4 (with shp2pgql-gui)
- Download postgis.refractions.net/download/postgis-1.4.0SVN.tar.gz and put in C:/thesrc
- cd /c/thesrc
- gzip -d -c postgis-1.4.0SVN.tar.gz | tar xvf -
- cd postgis-svn
- configure —prefix=/c/postgresql —with-pgconfig=/c/postgresql/bin/pg_config —with-geosconfig=/c/postgresql/bin/geos-config —with-projdir=/c/postgresql
- make clean && make
- make install
- make check
Note:
See TracWiki
for help on using the wiki.