Changes between Version 1 and Version 2 of UsersWikiPostGIS21Ubuntu1204src
- Timestamp:
- 11/08/13 22:11:55 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS21Ubuntu1204src
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 libgdal-dev libproj-dev libjson0-dev xsltproc docbook-xsl docbook-mathml8 sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev python-all-dev libproj-dev libjson0-dev xsltproc docbook-xsl docbook-mathml 9 9 }}} 10 10 … … 18 18 cd geos-3.4.2 19 19 ./configure 20 make 21 sudo make install 22 cd .. 23 }}} 24 25 === Build GDAL 1.10.x === 26 PostGIS 2.1 is best used with GDAL >= 1.8.0, however Ubuntu 12.04 LTS only has GDAL 1.7.3 available in packages, so it needs to be built from source. 27 28 There are multiple ways to build GDAL, but this is the simplest: 29 {{{ 30 wget http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz 31 tar xfz gdal-1.10.1.tar.gz 32 cd gdal-1.10.1 33 ./configure --with-python 20 34 make 21 35 sudo make install