summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2015-10-31 00:04:20 +0500
committerClaude Paroz <claude@2xlibre.net>2015-10-31 14:22:34 +0100
commitcdb17dcb64d141c5d1919888a32a6f3e3cd58616 (patch)
treec68e6acda78c8ebcd32fcba098e297bac0831a50 /docs
parent8ad923b9d06f173ff9c633af000a0b91063a5e12 (diff)
Refs #25636 -- Updated instructions for libspatialite source installation
Diffstat (limited to 'docs')
-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 4ae9965715..c110967202 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::