Changes between Version 6 and Version 7 of UsersWikiPostGIS21Ubuntu1304src
- Timestamp:
- 08/20/13 01:11:56 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS21Ubuntu1304src
v6 v7 12 12 PostGIS 2.1 is best used with GEOS >= 3.4 for several new features, however Ubuntu 13.04 only has GEOS 3.3.3 available in packages, so it needs to be built from source. If you don't need the new features, instead install the {{{libgeos-dev}}} package. 13 13 14 There are multiple ways to build GEOS, but this is the simplest . This method retrieves a snapshot from subversion, since the bzip2 archive of GEOS 3.4.0 not quite ready at the time of writing.14 There are multiple ways to build GEOS, but this is the simplest: 15 15 {{{ 16 sudo apt-get install subversion autoconf 17 svn checkout http://svn.osgeo.org/geos/tags/3.4.0/ geos-3.4.0 18 cd geos-3.4.0 19 ./autogen.sh 16 wget http://download.osgeo.org/geos/geos-3.4.1.tar.bz2 17 tar xfj geos-3.4.1.tar.bz2 18 cd geos-3.4.1 20 19 ./configure 21 20 make … … 26 25 == Build PostGIS == 27 26 {{{ 28 wget http://download.osgeo.org/postgis/source/postgis-2.1.0 rc2.tar.gz29 tar xf vz postgis-2.1.0rc2.tar.gz30 cd postgis-2.1.0 rc227 wget http://download.osgeo.org/postgis/source/postgis-2.1.0.tar.gz 28 tar xfz postgis-2.1.0.tar.gz 29 cd postgis-2.1.0 31 30 }}} 32 31