Skip to content

Instantly share code, notes, and snippets.

@peteonrails
Forked from cspanring/QGIS cmake in homebrew
Created January 31, 2012 18:33
Show Gist options
  • Save peteonrails/1712073 to your computer and use it in GitHub Desktop.
Save peteonrails/1712073 to your computer and use it in GitHub Desktop.
homebrew formula cmake arguments and output for QGIS.
cmake -DCMAKE_INSTALL_PREFIX=~/Applications -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_INTERNAL_SPATIALITE=TRUE -DGEOS_INCLUDE_DIR=/usr/local/Cellar/geos/3.2.2/include -DGEOS_LIBRARY=/usr/local/Cellar/geos/3.2.2/lib/libgeos_c.dylib -DGDAL_INCLUDE_DIR=/usr/local/Cellar/gdal/1.7.3/include -DGDAL_LIBRARY=/usr/local/Cellar/gdal/1.7.3/lib/libgdal.dylib -DPYTHON_EXECUTABLE=/usr/local/Cellar/python/2.7.1/bin/python -DSIP_BINARY_PATH=/usr/local/bin/sip -DSIP_INCLUDE_DIR=/usr/local/include -DSIP_FOUND=true -DQWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework/Versions/Current/Headers
-- Quantum GIS version: 1.9.90 Alpha (10990)
-- Could not find GRASS
-- Found Iconv: /usr/lib/libiconv.dylib
-- Found Proj: /usr/local/lib/libproj.dylib
-- Found GEOS: /usr/local/Cellar/geos/3.2.2/lib/libgeos_c.dylib
-- Found GDAL: /usr/local/Cellar/gdal/1.7.3/lib/libgdal.dylib
-- Found Expat: /usr/lib/libexpat.dylib
-- Found Qwt: /usr/local/lib/qwt.framework (6.0.1)
-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.0.4/lib/libpq.dylib
-- Pedantic compiler settings enabled
-- Found Python executable: /usr/local/Cellar/python/2.7.1/bin/python
-- Found Python version:
-- Found Python library: -framework Python
-- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas
-- txt2tags not found - disabled
-- Ctest Binary Directory set to: /Volumes/Templar SATA/workspace/Quantum-GIS/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/Templar SATA/workspace/Quantum-GIS
@peteonrails
Copy link
Author

bison upgrade

// Your formula will still use the wrong bison (2.3)
sudo rm /usr/bin/bison && ln -s /usr/local/bin/bison /usr/bin/bison

brew install wx_mac
brew install pyqt
brew install qwt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment