Created
September 13, 2012 00:07
-
-
Save ingenieroariel/3710904 to your computer and use it in GitHub Desktop.
Installing QGIS from sources on Mountain Lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quantum-GIS > cmake -DCMAKE_INSTALL_PREFIX=~/Applications -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_INTERNAL_SPATIALITE=TRUE -DQWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework/Headers -DSPATIALINDEX_INCLUDE_DIR=/usr/local/Cellar/spatialindex/1.7.1/include -DSPATIALINDEX_LIBRARY=/usr/local/Cellar/spatialindex/1.7.1/lib/libspatialindex.dylib | |
-- The C compiler identification is GNU 4.2.1 | |
-- The CXX compiler identification is Clang 4.0.0 | |
-- Checking whether C compiler has -isysroot | |
-- Checking whether C compiler has -isysroot - yes | |
-- Checking whether C compiler supports OSX deployment target flag | |
-- Checking whether C compiler supports OSX deployment target flag - yes | |
-- Check for working C compiler: /usr/bin/gcc | |
-- Check for working C compiler: /usr/bin/gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Quantum GIS version: 1.9.0 Master (10900) | |
-- Could not find GRASS | |
-- Found Iconv: /usr/lib/libiconv.dylib | |
-- Looking for openpty | |
-- Looking for openpty - found | |
-- Found Proj: /usr/local/lib/libproj.dylib | |
-- Found GEOS: /usr/local/Cellar/geos/3.3.5/lib/libgeos_c.dylib | |
-- Found GDAL: /usr/local/Cellar/gdal/1.9.1/lib/libgdal.dylib (1.9.1) | |
-- Found Expat: /usr/lib/libexpat.dylib | |
-- Found Spatialindex: /usr/local/Cellar/spatialindex/1.7.1/lib/libspatialindex.dylib | |
-- Found Qwt: /usr/local/lib/qwt.framework (6.0.1) | |
-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.1.4/lib/libpq.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 Qt4: /usr/local/bin/qmake (found suitable version "4.8.2", required is "4.4.0") | |
-- Touch support disabled | |
-- Pedantic compiler settings enabled | |
-- Found PythonInterp: /usr/bin/python (found version "2.7.2") | |
-- Found Python executable: /usr/bin/python | |
-- Found Python version: 2.7.2 | |
-- Found Python library: -framework Python | |
-- Found SIP version: 4.13.3 | |
-- Found PyQt4 version: 4.9.4 | |
-- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas | |
-- txt2tags not found - disabled | |
-- Ctest Binary Directory set to: /Users/x/work/Quantum-GIS/output/bin | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/x/work/Quantum-GIS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install dependencies | |
brew install postgis qt gdal geos proj sqlite libspatialite gsl pyqt qwt cmake spatialindex swig | |
# make sure you add the following to your .profile (to have sip available) | |
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH | |
# clone qgis | |
git clone https://github.com/qgis/Quantum-GIS | |
cd Quantum-GIS | |
# configure | |
cmake -DCMAKE_INSTALL_PREFIX=~/Applications -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_INTERNAL_SPATIALITE=TRUE -DQWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework/Headers -DSPATIALINDEX_INCLUDE_DIR=/usr/local/Cellar/spatialindex/1.7.1/include -DSPATIALINDEX_LIBRARY=/usr/local/Cellar/spatialindex/1.7.1/lib/libspatialindex.dylib | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This just builds a lot of empty binaries for me - have you had any success?