Changes between Version 1 and Version 2 of UsersWikiPostGIS20Ubuntu1110src


Ignore:
Timestamp:
Mar 26, 2012, 4:17:42 AM (12 years ago)
Author:
Mike Taves
Comment:

update for latest beta

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS20Ubuntu1110src

    v1 v2  
    66Install prerequisite packages using:
    77{{{
    8 sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev libgeos-dev proj libjson0-dev
     8sudo apt-get install build-essential postgresql-9.1 postgresql-server-dev-9.1 libxml2-dev proj libjson0-dev
    99}}}
    1010
     
    2020Optional packages for building documentation:
    2121{{{
    22 sudo apt-get install xsltproc docbook-xsl imagemagick
     22sudo apt-get install xsltproc docbook-xsl docbook-mathml imagemagick
    2323}}}
    2424(for building PDF documentation, add `dblatex`, but expect a large download)
    2525
    2626=== 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.
     27PostGIS 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.
    2828
    2929There are multiple ways to build GEOS, but this is the simplest:
     
    3535make
    3636sudo make install
     37cd ..
    3738}}}
    3839
    3940== Build PostGIS ==
    4041{{{
    41 wget http://postgis.refractions.net/download/postgis-2.0.0beta2SVN.tar.gz
    42 tar xfvz postgis-2.0.0beta2SVN.tar.gz
    43 cd postgis-2.0.0beta2SVN
     42wget http://postgis.refractions.net/download/postgis-2.0.0beta4.tar.gz
     43tar xfvz postgis-2.0.0beta4.tar.gz
     44cd postgis-2.0.0beta4
    4445}}}
    4546PostGIS 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:
     
    4849make
    4950sudo make install
     51sudo ldconfig
    5052sudo make comments-install
    5153}}}