Next
Previous
Contents
PostGIS was developed using PostgreSQL 7.1.1 as the target server.
Earlier versions of PgSQL will probably not work with PostGIS. Versions
within the 7.1.x release series will probably work fine.
- Retrieve the PostGIS source archive from http://postgis.refractions.net/postgis-latest.tar.gz.
Uncompress and untar the archive in the "
contrib"
directory of the
PostgreSQL source tree.
cd <postgresql source tree>/contrib
zcat postgis-latest.tar.gz | tar xvf -
- Before you can compile the postgis server modules, you must compile
and install the PostgreSQL package. Once your PostgreSQL installation
is up-to-date, enter the "
postgis"
directory, and run the compile
and install commands.
cd ./postgis
make
make install
- To compile the JDBC extensions, enter the "
jdbc"
sub-directory
and run the compile command.
make
Copy the postgis.jar file to wherever you keep your java libraries.
Next
Previous
Contents