[Qgis-developer] Re: cmake error on OS X 10.6
John C. Tull
john.tull at wildnevada.org
Thu Sep 16 11:02:59 EDT 2010
As far as I can tell, I do not have any remnant gsl laying around. I upgraded my hardware in the past 6 months and started afresh with additional unix libs, binaries, etc. I did not install any gsl other than your framework to my knowledge.
I believe some updates occurred in the past 6-10 months with egis where your frameworks are automagically picked up by cmake. Here is my commandline output from running the cmake command I posted:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - no
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - no
-- Check for working C compiler: /usr/local/bin/ccache
-- Check for working C compiler: /usr/local/bin/ccache -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - no
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - no
-- Check for working CXX compiler: /usr/local/bin/ccache
-- Check for working CXX compiler: /usr/local/bin/ccache -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Quantum GIS version: 1.6.0 Trunk (10600)
-- Found GRASS: /Applications/GRASS-6.4.app/Contents/MacOS (6.4.0)
-- Found Iconv: /usr/lib/libiconv.dylib
-- Looking for openpty
-- Looking for openpty - found
-- Found Proj: /Library/Frameworks/proj.framework
-- Found Expat: /usr/lib/libexpat.dylib
-- Using GSL from /Library/Frameworks/GSL.framework/Versions/1/unix
-- Found GEOS: /Library/Frameworks/GEOS.framework/Versions/3/unix/lib/libgeos_c.dylib
-- Found GDAL: /Library/Frameworks/GDAL.framework/Versions/1.7/unix/lib/libgdal.dylib
-- Found PostgreSQL: /usr/local/pgsql/lib/libpq.dylib
-- Found QWT: /usr/local/qwt-5.2.1-svn/lib/libqwt.5.dylib
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found PythonInterp: /System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
-- Found Python executable: /System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
-- Found Python version: 2.6.1
-- Found Python library: -framework Python
-- Found SIP version: 4.10.5
-- Found PyQt4 version: 4.7.4
-- Found FCGI: /usr/lib/libfcgi.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jctull/sources/qgis/trunk/build
You can see that gsl, proj and others were discovered just fine.
On Sep 16, 2010, at 7:57 AM, William Kyngesburye wrote:
> Interesting. You don't have problems with GSL or PROJ frameworks? Maybe you have an old /usr/local GSL from before my framework?
> I suppose I should give it a whirl to make sure it's all working...
> On Sep 16, 2010, at 9:50 AM, John C. Tull wrote:
>> I use cmake regularly, and William's frameworks otherwise. I have an alias in my bash profile setup with the following command:
>> cmake -D BINDINGS_GLOBAL_INSTALL=on -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.5.dylib -D CMAKE_INSTALL_PREFIX=/Applications -D CMAKE_BUILD_TYPE=Release -D SIP_BINARY_PATH=/usr/local/bin/sip -D CMAKE_OSX_ARCHITECTURES=x86_64 -D GRASS_PREFIX=/Applications/GRASS-6.4.app/Contents/MacOS -D GRASS_INCLUDE_DIR=/Applications/GRASS-6.4.app/Contents/MacOS/include ..
>> Hope that helps.
>> On Sep 15, 2010, at 8:21 PM, William Kyngesburye wrote:
>>> I confess that since setting up the Xcode project, I use it exclusively and haven't tried a cmake build in a while, though others have with success.
>>> The Qgis cmake configure should automatically find known frameworks. GDAL and GEOS are known, but GSL is fairly recent as a framework and the cmake stuff wasn't updated.
>>> Odd, I see that the cmake test for PROJ doesn't check for a framework.
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
> Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
> First Pogril: I don't know either. Wretched, isn't it?
> -HitchHiker's Guide to the Galaxy
More information about the Qgis-developer