Changes between Version 1 and Version 2 of UsersWikiPostGIS20Ubuntu1110src
- Timestamp:
- 03/26/12 04:17:42 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS20Ubuntu1110src
v1 v2 6 6 Install prerequisite packages using: 7 7 {{{ 8 sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev libgeos-devproj libjson0-dev8 sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev proj libjson0-dev 9 9 }}} 10 10 … … 20 20 Optional packages for building documentation: 21 21 {{{ 22 sudo apt-get install xsltproc docbook-xsl imagemagick22 sudo apt-get install xsltproc docbook-xsl docbook-mathml imagemagick 23 23 }}} 24 24 (for building PDF documentation, add `dblatex`, but expect a large download) 25 25 26 26 === Build GEOS 3.3.x === 27 PostGIS 2.0 requires GEOS >= 3.3.2 for topology support, however Ubuntu 11.10 only has GEOS 3.2.2 available in packages, so it needs to be built from source. If you don't need topology, you don't need to build this package.27 PostGIS 2.0 requires GEOS >= 3.3.2 for topology support, however Ubuntu 11.10 only has GEOS 3.2.2 available in packages, so it needs to be built from source. If you don't need topology, you don't ''need'' to build this component, but it is highly recommended. 28 28 29 29 There are multiple ways to build GEOS, but this is the simplest: … … 35 35 make 36 36 sudo make install 37 cd .. 37 38 }}} 38 39 39 40 == Build PostGIS == 40 41 {{{ 41 wget http://postgis.refractions.net/download/postgis-2.0.0beta 2SVN.tar.gz42 tar xfvz postgis-2.0.0beta 2SVN.tar.gz43 cd postgis-2.0.0beta 2SVN42 wget http://postgis.refractions.net/download/postgis-2.0.0beta4.tar.gz 43 tar xfvz postgis-2.0.0beta4.tar.gz 44 cd postgis-2.0.0beta4 44 45 }}} 45 46 PostGIS 2.0 can be configured to disable topology or raster extensions, using the configure flags `--without-raster` and `--without-topology`. The default is to build both extensions: … … 48 49 make 49 50 sudo make install 51 sudo ldconfig 50 52 sudo make comments-install 51 53 }}}