<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I am having some difficulties compiling QGIS and I'm hoping someone here can help…I have a hunch that the source of this problem is with Python but I'm not very sophisticated when it comes to  application development.</div><div><br></div><div>I have installed all required dependencies using a combination of Homebrew and manual installation (adding symbolic links when necessary). </div><div><br></div><div>I followed the recommendations of homebrew in regards to SIP and issued the following command prior to initiating the build:</div><div><br></div><div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH</div></div><div><br></div><div>I am trying to use the following command to initiate the build:</div><div><br></div><div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">cmake -D CMAKE_INSTALL_PREFIX=/volumes/Main/Applications \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D CMAKE_BUILD_TYPE=MinSizeRel \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D ENABLE_TESTS=FALSE \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D WITH_INTERNAL_SPATIALITE=FALSE \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D WITH_PYSPATIALITE=FALSE \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D WITH_GRASS=TRUE \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GRASS_PREFIX=/usr/local/bin/ \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D QWT_LIBRARY=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D QWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework/Headers<span style="color: #444444"> </span>\</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D BISON_EXECUTABLE=/usr/local/bin/bison \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D EXPAT_LIBRARY=/usr/local/lib/libexpat.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D EXPAT_INCLUDE_DIR=/usr/local/include \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GEOS_INCLUDE_DIR=/usr/local/include<span style="color: #444444"> </span>\</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GEOS_LIBRARY=/usr/local/lib/libgeos_c.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GDAL_INCLUDE_DIR=/usr/local/include<span style="color: #444444"> </span>\</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GDAL_LIBRARY=/usr/local/lib/libgdal.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GSL_INCLUDE_DIR=/usr/local/include<span style="color: #444444"> </span>\</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D GSL_LIBRARIES=/usr/local/lib/libgsl.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D POSTGRES_INCLUDE_DIR=/usr/local/include<span style="color: #444444"> </span>\</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">-D POSTGRES_LIBRARY=/usr/local/lib/libpq.dylib \</div><div style="margin: 0px; font-size: 13px; font-family: Courier; ">..</div></div><div><br></div><div>I get the following output:</div><div><br></div><div><div>-- Quantum GIS version: 1.9.0 Master (10900)</div><div>-- Could not find GRASS</div><div>-- Found Proj: /Library/Frameworks/PROJ.framework</div><div>-- Found GEOS: /usr/local/lib/libgeos_c.dylib</div><div>-- Found GDAL: /usr/local/lib/libgdal.dylib (1.9.2)</div><div>-- Found Expat: /usr/local/lib/libexpat.dylib</div><div>-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib</div><div>-- Found Qwt: /usr/local/Cellar/qwt/6.0.1/lib/qwt.framework (6.0.1)</div><div>-- Found Sqlite3: /Library/Frameworks/sqlite3.framework</div><div>-- Found PostgreSQL: /usr/local/lib/libpq.dylib</div><div>-- Touch support disabled</div><div>-- Pedantic compiler settings enabled</div><div><b>/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '_find_lib_python_py-NOTFOUND': [Errno 2] No such file or directory</b></div><div>-- Found Python executable: /usr/local/bin/python2.7</div><div>-- Found Python version: </div><div>-- Found Python library: /usr/local/lib/python2.7/</div><div><b>/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '_find_sip_py-NOTFOUND': [Errno 2] No such file or directory</b></div><div><b>CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):</b></div><div><b>  Could not find SIP</b></div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:494 (FIND_PACKAGE)</div></div><div><br></div><div>If I run python FindSIP.py from the CMAKE folder, I get this:</div><div><br></div><div><div>sip_version:040e00</div><div>sip_version_num:265728</div><div>sip_version_str:4.14</div><div>sip_bin:/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/bin/sip</div><div>default_sip_dir:/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/share/sip</div><div>sip_inc_dir:/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7</div><div>sip_mod_dir:/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages</div></div><div><br></div><div>Which is what I would expect. </div><div><br></div><div>Any idea what is going on here and how to fix it?</div><div><br></div><div>Thanks in advance for any help you can provide.</div><div><br></div><div>-Sasha</div><div><br></div><div><br></div><div></div></body></html>