Skip to content

Commit 90380b8

Browse files
committed
[1.2.X] Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.
Backport of r13398 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 1b5f812 commit 90380b8

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

docs/ref/contrib/gis/create_template_postgis-1.4.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib/postgis-1.4
2+
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib
33
createdb -E UTF8 template_postgis # Create the template spatial database.
44
createlang -d template_postgis plpgsql # Adding PLPGSQL language support.
55
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';"

docs/ref/contrib/gis/install.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ Typically, SQLite packages are not compiled to include the `R*Tree module`__ --
383383
thus it must be compiled from source. First download the latest amalgamation
384384
source archive from the `SQLite download page`__, and extract::
385385

386-
$ wget http://www.sqlite.org/sqlite-amalgamation-3.6.22.tar.gz
387-
$ tar xzf sqlite-amalgamation-3.6.22.tar.gz
388-
$ cd sqlite-3.6.22
386+
$ wget http://sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
387+
$ tar xzf sqlite-amalgamation-3.6.23.1.tar.gz
388+
$ cd sqlite-3.6.23.1
389389

390390
Next, run the ``configure`` script -- however the ``CFLAGS`` environment variable
391391
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::
449449
.. note::
450450

451451
For Mac OS X users building from source, the SpatiaLite library *and* tools
452-
need to be linked into the existing ``iconv`` library. While this happens
453-
automatically on Linux, the ``configure`` scripts need to know about the
454-
specific location on Mac OS X (via modification of the ``CFLAGS`` and
455-
``LDFLAGS`` environment variables prior to configuration)::
452+
need to have their ``target`` configured::
456453

457-
$ CFLAGS=-I/usr/include LDFLAGS="-L/usr/lib -liconv" ./configure
454+
$ ./configure --target=macosx
458455

459456
__ http://www.gaia-gis.it/spatialite/sources.html
460457

@@ -804,8 +801,8 @@ your ``.profile`` to be able to run the package programs from the command-line::
804801
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
805802
export PATH=/usr/local/pgsql/bin:$PATH
806803

807-
__ http://www.kyngchaos.com/wiki/software:frameworks
808-
__ http://www.kyngchaos.com/wiki/software:postgres
804+
__ http://www.kyngchaos.com/software/frameworks
805+
__ http://www.kyngchaos.com/software/postgres
809806

810807
.. note::
811808

0 commit comments

Comments
 (0)