[Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules
William Kyngesburye
woklist at kyngchaos.com
Sat Jul 6 15:53:16 PDT 2013
This is very strange, cmake should be finding all the frameworks (GEOS, PROJ, SQLite/Spatialite) and not other libraries. You have to explicitly set a cmake variable so it doesn't prefer frameworks over libraries.
Maybe cmake is misbehaving - what is your cmake version?
On Jul 6, 2013, at 5:33 PM, Marcel Stadelmann wrote:
> I use Xcode 4.6.3
>
> Cmake QGIS didn't work. First GDAL was not found. After including -D GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config it was found, but other errors occurred (see below). What could it be?
>
> Marcels-iMac:build Marcello$ cmake -D CMAKE_INSTALL_PREFIX=~/Applications \
>> -D CMAKE_BUILD_TYPE=MINSIZEREL -D ENABLE_TESTS=FALSE \
>> -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_PYSPATIALITE=FALSE \
>> -D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \
>> -D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \
>> -D QWT_LIBRARY=/usr/local/qwt-6.0.2/lib/libqwt.dylib \
>> -D QWT_INCLUDE_DIR=/usr/local/qwt-6.0.2/include \
>> -D BISON_EXECUTABLE=/usr/local/bin/bison \
>> -D GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config \
>> ..
> -- QGIS version: 1.9.0 Master (10900)
> -- Found GRASS: /Applications/GRASS-6.4.app/Contents/MacOS (6.4.2)
> -- Found Proj: /usr/local/lib/libproj.dylib
> -- Found GEOS: /usr/local/Cellar/geos/3.3.8/lib/libgeos_c.dylib
> -- Found GDAL: /Library/Frameworks/GDAL.framework/Versions/1.10/unix/lib/libgdal.dylib (1.10.0)
> -- Found Expat: /usr/local/lib/libexpat.dylib
> -- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
> -- Found Qwt: /usr/local/qwt-6.0.2/lib/libqwt.dylib (6.0.2)
> -- Found Sqlite3: /usr/lib/libsqlite3.dylib
> -- Found PostgreSQL: /usr/local/pgsql-9.2/lib/libpq.dylib
> -- Touch support disabled
> -- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.7.2)
> -- Pedantic compiler settings enabled
> -- Found Python executable: /usr/bin/python
> -- Found Python version: 2.7.2
> -- Found Python library: -framework Python
> -- Found SIP version: 4.14.6
> -- Found PyQt4 version: 4.10.2
> -- Found QScintilla2 PyQt4 module: 2.7.2
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> -- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas
> -- txt2tags not found - disabled
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> SPATIALITE_LIBRARY
> linked by target "qgis_core" in directory /Users/Marcello/Downloads/Quantum-GIS-master/src/core
> linked by target "offlineeditingplugin" in directory /Users/Marcello/Downloads/Quantum-GIS-master/src/plugins/offline_editing
>
> -- Configuring incomplete, errors occurred!
>
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
More information about the Qgis-user
mailing list