Changes between Version 1 and Version 2 of UsersWikiPostGIS21Ubuntu1204src


Ignore:
Timestamp:
11/08/13 22:11:55 (11 years ago)
Author:
Mike Taves
Comment:

oh right, GDAL needs to be built from source for this version

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS21Ubuntu1204src

    v1 v2  
    66Install prerequisite packages using:
    77{{{
    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-mathml
     8sudo 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
    99}}}
    1010
     
    1818cd geos-3.4.2
    1919./configure
     20make
     21sudo make install
     22cd ..
     23}}}
     24
     25=== Build GDAL 1.10.x ===
     26PostGIS 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
     28There are multiple ways to build GDAL, but this is the simplest:
     29{{{
     30wget http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz
     31tar xfz gdal-1.10.1.tar.gz
     32cd gdal-1.10.1
     33./configure --with-python
    2034make
    2135sudo make install