Table of Contents |
---|
Introduction
Be absolutely sure you read the section about repository setup on the postgresql install page.
...
First install these packages:
proj4 install
geos install
OK, now we build postGIS.
todo - where and how do we get the postgis package?
Code Block |
---|
$ yum install postgresql-devel $ tar xvfz postgis-1.3.1.tar.gz $ cd postgis-1.3.1 $ ./configure \--with-pgsql=/usr/bin/pg_config \--with-geos=/usr/local/bin/geos-config \--with-proj=/usr/local $ make $ su $ make install $ exit |
Errors
...
error
Code Block |
---|
configure: error: Can't find 'flex' |
...
Code Block |
---|
yum install flex |
...
postgis_template
This is optional.
This page shows how to create and use a db template:
http://geospatial.nomad-labs.com/2006/12/24/postgis-template-database/
...