Changes between Version 3 and Version 4 of UsersWikiPostGIS20Ubuntu1204


Ignore:
Timestamp:
05/05/12 20:43:32 (13 years ago)
Author:
jeffmeyer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS20Ubuntu1204

    v3 v4  
    3535PostGIS 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.
    3636
    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''':
     37These 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:
    3838{{{
    39 sudo apt-get install g++    ''--- added to other instructions, not installed by default in 12.04 & required for this make
     39sudo 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
    4040wget http://download.osgeo.org/geos/geos-3.3.3.tar.bz2
    4141tar xvfj geos-3.3.3.tar.bz2
    4242cd geos-3.3.3
    4343./configure
    44 make   ''--- this failed''
     44make
    4545sudo make install
    4646cd ..
    4747}}}
     48
     49To confirm this works, do the following:
     50{{{
     51$ geos-config --version
     523.3.3
     53$
     54}}}
     55
    4856
    4957== older notes ==