[Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules
Marcel Stadelmann
marcel.stadelmann at gmx.net
Sun Jul 7 09:48:43 PDT 2013
Maybe the problem lies in the GEOS or in sqlite. This two things are still in homebrew installed. Can i remove them?
Marcels-iMac:~ Marcello$ brew list
atk cmake gdbm glib imagemagick libffi little-cms2 proj
autoconf doxygen gdk-pixbuf graphicsmagick intltool libgeotiff lzlib readline
automake expat geos gsl jbig2dec libpng ossp-uuid sqlite
bison fontconfig gettext gtk+ jpeg librsvg pango xz
cairo freetype ghostscript harfbuzz latex2rtf libtiff pixman
check freexl giflib icu4c libcroco libtool pkg-config
Am 07.07.2013 um 18:27 schrieb Marcel Stadelmann <marcel.stadelmann at gmx.net>:
> There is a PROJSO variable set in .bash_profile (see below).
>
> # PATH geändert am 11.Feb. 2013 aufgrund der Empfehlung von brew doctor
> export PATH=/usr/local/pgsql/bin:/usr/local/bin:/usr/local/sbin:$PATH
> export PROJSO=/Library/Frameworks/PROJ.framework/PROJ
> export MAGICK_HOME="/usr/local"
> # PATH geändert am 4. Juli 2013 um wieder das System Python zu aktivieren, das QGIS braucht.
> # For non-homebrew python (2.x), you need to amend your PYTHONPATH like so:
> export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
> export PATH=/usr/local/pgsql-9.2/bin:$PATH
>
> The results of env looks like this:
>
> Marcels-iMac:~ Marcello$ env
> TERM_PROGRAM=Apple_Terminal
> TERM=xterm-256color
> SHELL=/bin/bash
> TMPDIR=/var/folders/db/4h4v3sx95ts0z6p6701_717c0000gn/T/
> Apple_PubSub_Socket_Render=/tmp/launch-TpmrQB/Render
> TERM_PROGRAM_VERSION=309
> TERM_SESSION_ID=4FDF109B-A972-48ED-8334-84AB6A343BD5
> USER=Marcello
> COMMAND_MODE=unix2003
> SSH_AUTH_SOCK=/tmp/launch-cKuxhw/Listeners
> __CF_USER_TEXT_ENCODING=0x1F5:0:3
> Apple_Ubiquity_Message=/tmp/launch-4hnurk/Apple_Ubiquity_Message
> PATH=/usr/local/pgsql-9.2/bin:/usr/local/pgsql/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
> PWD=/Users/Marcello
> LANG=de_CH.UTF-8
> MAGICK_HOME=/usr/local
> SHLVL=1
> HOME=/Users/Marcello
> PROJSO=/Library/Frameworks/PROJ.framework/PROJ
> PYTHONPATH=/usr/local/lib/python2.7/site-packages:
> LOGNAME=Marcello
> DISPLAY=/tmp/launch-D4RrO4/org.macosforge.xquartz:0
> _=/usr/bin/env
>
>
> Am 07.07.2013 um 18:13 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>
>> 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