@@ -383,9 +383,9 @@ Typically, SQLite packages are not compiled to include the `R*Tree module`__ --
383
383
thus it must be compiled from source. First download the latest amalgamation
384
384
source archive from the `SQLite download page`__, and extract::
385
385
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
389
389
390
390
Next, run the ``configure`` script -- however the ``CFLAGS`` environment variable
391
391
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::
449
449
.. note::
450
450
451
451
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::
456
453
457
- $ CFLAGS=-I/usr/include LDFLAGS="-L/usr/lib -liconv" ./configure
454
+ $ ./configure --target=macosx
458
455
459
456
__ http://www.gaia-gis.it/spatialite/sources.html
460
457
@@ -804,8 +801,8 @@ your ``.profile`` to be able to run the package programs from the command-line::
804
801
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
805
802
export PATH=/usr/local/pgsql/bin:$PATH
806
803
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
809
806
810
807
.. note::
811
808
0 commit comments