[Qgis-developer] Building QGIS in Mac OS X (Mountain Lion i.e. 10.8) with QtSQL support

Noli Sicad nsicad at gmail.com
Sat Aug 4 19:48:19 PDT 2012


I fixed this error in Mountain Lion.

deleted c++ in /usr/bin

And did a symbolic link.

sudo ln /usr/bin/g++ /usr/bin/c++

Here's log when I install sip.

##################
Nolis-MacBook-Pro:ForestryLP nsicad$ brew install sip
dyld: DYLD_ environment variables being ignored because main
executable (/usr/bin/sudo) is setuid or setgid
==> Downloading http://www.riverbankcomputing.co.uk/hg/sip/archive/4.13.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/sip-4.13.3.tar.gz
==> Patching
patching file build.py
Hunk #1 succeeded at 185 (offset 6 lines).
Hunk #2 succeeded at 198 (offset 6 lines).
patching file siputils.py
Hunk #1 succeeded at 1485 (offset 51 lines).
==> python build.py prepare
==> python configure.py
--destdir=/usr/local/Cellar/sip/4.13.3/lib/python2.7/site-packages
--bindir=/usr/local/Cellar/sip/4.
==> make install
==> Caveats
For non-homebrew Python, you need to amend your PYTHONPATH like so:
  export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
==> Summary

########

Noli


More information about the Qgis-developer mailing list