summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2015-10-31 00:04:20 +0500
committerTim Graham <timograham@gmail.com>2015-10-31 09:38:28 -0400
commitd60208bbae37eefb569aa09efc8c34956b30ef71 (patch)
treee9f5ed3ea48c0c1cba112fd3325d4a51fab85159
parent7648ceb06bbd3869ace9fe996cb5fdc8b14531c0 (diff)
downloaddjango-d60208bbae37eefb569aa09efc8c34956b30ef71.tar.gz
[1.8.x] Refs #25636 -- Updated instructions for libspatialite source installation
Backport of cdb17dcb64d141c5d1919888a32a6f3e3cd58616 from master
-rw-r--r--docs/ref/contrib/gis/install/spatialite.txt41
1 files changed, 7 insertions, 34 deletions
diff --git a/docs/ref/contrib/gis/install/spatialite.txt b/docs/ref/contrib/gis/install/spatialite.txt
index 8cb44bccbf..ae7a401eca 100644
--- a/docs/ref/contrib/gis/install/spatialite.txt
+++ b/docs/ref/contrib/gis/install/spatialite.txt
@@ -56,45 +56,18 @@ __ http://www.sqlite.org/download.html
.. _spatialitebuild:
-SpatiaLite library (``libspatialite``) and tools (``spatialite``)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+SpatiaLite library (``libspatialite``)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Get the latest SpatiaLite library source and tools bundle from the
+Get the latest SpatiaLite library source bundle from the
`download page`__::
- $ wget http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-amalgamation-2.4.0-5.tar.gz
- $ wget http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-2.4.0-5.tar.gz
- $ tar xzf libspatialite-amalgamation-2.4.0-5.tar.gz
- $ tar xzf spatialite-tools-2.4.0-5.tar.gz
-
-Prior to attempting to build, please read the important notes below to see if
-customization of the ``configure`` command is necessary. If not, then run the
-``configure`` script, make, and install for the SpatiaLite library::
-
- $ cd libspatialite-amalgamation-2.4.0-5
- $ ./configure # May need to be modified, see notes below.
+ $ wget http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.1.0.tar.gz
+ $ tar xaf libspatialite-4.1.0.tar.gz
+ $ cd libspatialite-4.1.0
+ $ ./configure
$ make
$ sudo make install
- $ cd ..
-
-.. _spatialite_tools:
-
-Finally, do the same for the SpatiaLite tools::
-
- $ cd spatialite-tools-2.4.0-5
- $ ./configure # May need to be modified, see notes below.
- $ make
- $ sudo make install
- $ cd ..
-
-.. note::
-
- If you've installed GEOS and PROJ.4 from binary packages, you will have to specify
- their paths when running the ``configure`` scripts for *both* the library and the
- tools (the configure scripts look, by default, in ``/usr/local``). For example,
- on Debian/Ubuntu distributions that have GEOS and PROJ.4 packages, the command would be::
-
- $ ./configure --with-proj-include=/usr/include --with-proj-lib=/usr/lib --with-geos-include=/usr/include --with-geos-lib=/usr/lib
.. note::