[Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

William Kyngesburye woklist at kyngchaos.com
Sun Jul 7 09:13:28 PDT 2013


This is very puzzling.  I don't have anything in /usr/local that would confuse my configure, so I temporarily installed GSL in /usr/local (simple to uninstall), it still found my GSL framework.

But, looking closer at your configure results, I see that some things are automatically found in /usr/local/cellar, which is not a standard search path.  So there is something telling cmake additional search paths and overriding default cmake behavior.  Maybe an environment setting?  Did you add any exports to your ~/.bash_profile?  If not, maybe homebrew did automatically?

env will show all current environment settings, see if there is something related to cmake, maybe in the PATH, or DYLD_LIBRARY_PATH or DYLD_FRAMEWORK_PATH, or some other system search path variable.

On Jul 7, 2013, at 10:48 AM, Marcel Stadelmann wrote:

> I used cmake version 2.8.11.1 until yesterday, now i installed the version 2.8.11.2 but still the same error for SPATIALITE_LIBRARY appear. GDAL frameworks are now found without explicitly set a cmake variable.
> 
> Am 07.07.2013 um 01:33 schrieb William Kyngesburye <woklist at kyngchaos.com>:
> 
>> Current stable was 2.8.11 (what I have) until a few days ago.  2.8.11.2 was released Jul 3.  I don't see any changes in the latest release or in master that might cause this behavior.  2.8.11.2 still works for me, but I don't have anything in /usr/local that would confuse it.
>> 
>> On Jul 6, 2013, at 6:00 PM, Marcel Stadelmann wrote:
>> 
>>> 
>>> Am 07.07.2013 um 00:53 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>>> 
>>>> 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?
>>> where can I check the cmake version? I downloaded the master branch just a few hours ago.
>>>> 
>>>> 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/
>> 
>> Earth: "Mostly harmless"
>> 
>> - revised entry in the HitchHiker's Guide to the Galaxy
>> 
>> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan








More information about the Qgis-user mailing list