Changes between Version 3 and Version 4 of UsersWikiPostGIS20Ubuntu1204
- Timestamp:
- 05/05/12 20:43:32 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS20Ubuntu1204
v3 v4 35 35 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. 36 36 37 These are the instructions for building geos 3.3.3 found elsewhere on trac.osgeo.org, but '''they did not work for me in 12.04''':37 These are the instructions for building geos 3.3.3, based on instructions found elsewhere on trac.osgeo.org with some additions determined through trial and error: 38 38 {{{ 39 sudo apt-get install g++ ''--- added to other instructions, not installed by default in 12.04 & required for this make39 sudo apt-get install g++ ruby ruby1.8-dev swig swig2.0 ''--- added to other instructions, not installed by default in 12.04 & required for this make 40 40 wget http://download.osgeo.org/geos/geos-3.3.3.tar.bz2 41 41 tar xvfj geos-3.3.3.tar.bz2 42 42 cd geos-3.3.3 43 43 ./configure 44 make ''--- this failed''44 make 45 45 sudo make install 46 46 cd .. 47 47 }}} 48 49 To confirm this works, do the following: 50 {{{ 51 $ geos-config --version 52 3.3.3 53 $ 54 }}} 55 48 56 49 57 == older notes ==