Browse files

[1.2.X] Fixed #13671, #13748 -- Fixed errata and minor updates to Geo…

…Django docs.

Backport of r13398 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
jbronn committed Jun 23, 2010
1 parent 1b5f812 commit 90380b8fcf54842e29f772932bab2a9f6fbb26fd
Showing with 8 additions and 11 deletions.
  1. +1 −1 docs/ref/contrib/gis/
  2. +7 −10 docs/ref/contrib/gis/install.txt
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib/postgis-1.4
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib
createdb -E UTF8 template_postgis # Create the template spatial database.
createlang -d template_postgis plpgsql # Adding PLPGSQL language support.
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';"
@@ -383,9 +383,9 @@ Typically, SQLite packages are not compiled to include the `R*Tree module`__ --
thus it must be compiled from source. First download the latest amalgamation
source archive from the `SQLite download page`__, and extract::
$ wget
$ tar xzf sqlite-amalgamation-3.6.22.tar.gz
$ cd sqlite-3.6.22
$ wget
$ tar xzf sqlite-amalgamation-
$ cd sqlite-
Next, run the ``configure`` script -- however the ``CFLAGS`` environment variable
needs to be customized so that SQLite knows to build the R*Tree module::
@@ -449,12 +449,9 @@ Finally, do the same for the SpatiaLite tools::
.. note::
For Mac OS X users building from source, the SpatiaLite library *and* tools
need to be linked into the existing ``iconv`` library. While this happens
automatically on Linux, the ``configure`` scripts need to know about the
specific location on Mac OS X (via modification of the ``CFLAGS`` and
``LDFLAGS`` environment variables prior to configuration)::
need to have their ``target`` configured::
$ CFLAGS=-I/usr/include LDFLAGS="-L/usr/lib -liconv" ./configure
$ ./configure --target=macosx
@@ -804,8 +801,8 @@ your ``.profile`` to be able to run the package programs from the command-line::
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
export PATH=/usr/local/pgsql/bin:$PATH
.. note::

0 comments on commit 90380b8

Please sign in to comment.