<div dir="ltr"><div>I'm getting an error when I try to build QGIS master (see error log below). I falls over trying to link qgis_core to libgeos. Installed version of libgeos is 3.4.2.</div><div><br></div><div>Most of the dependencies (libgeos, libgdal, etc.) have been built and installed using MacPorts. I have no problem building QGIS 1.8 available via MacPorts.</div>
<div><br></div><div>I'm running OS X 10.6.8 on a MacBook Pro 1,1 (32 bit, not 64 bit).</div><div><br></div><div>This is the first time I've tried to build QGIS myself, so I expect it's something I'm doing wrong rather than a bug. Any ideas what?</div>
<div><br></div><div>Full error log is here: <a href="http://pastebin.com/xBsskJ1r">http://pastebin.com/xBsskJ1r</a></div><div><br></div><div>Here are the interesting parts:</div><div><br></div><div><div>-- QGIS version: 2.1.0 Master (20100)</div>
<div>-- Found Proj: /opt/local/lib/libproj.dylib</div><div>-- Found GEOS: /opt/local/lib/libgeos.dylib</div><div>-- Found GDAL: /opt/local/lib/libgdal.dylib (1.9.2)</div><div>-- Found Expat: /usr/lib/libexpat.dylib</div><div>
-- Found Spatialindex: /opt/local/lib/libspatialindex.dylib</div><div>-- Found Qwt: /opt/local/lib/libqwt.dylib (5.2.3)</div><div>-- Found Sqlite3: /opt/local/lib/libsqlite3.dylib</div><div>-- Found SpatiaLite: /opt/local/lib/libspatialite.dylib</div>
<div>-- Touch support disabled</div><div>-- Pedantic compiler settings enabled</div><div>-- Found Python executable: /opt/local/bin/python</div><div>-- Found Python version: 2.7.5</div><div>-- Found Python library: -framework Python</div>
<div>-- Found SIP version: 4.14.6</div><div>-- Found PyQt4 version: 4.10.1</div><div>-- Found QScintilla2 PyQt4 module: qsci_version_str:</div><div><br></div><div>-- Found GSL: /opt/local/lib/libgsl.dylib</div><div>-- txt2tags not found - disabled</div>
<div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /Users/snorf/Desktop/Quantum-GIS/build</div><div><br></div><div>...</div><div><br></div><div><div>Linking CXX shared library ../../output/lib/qgis_core.framework/Versions/2.1/qgis_core</div>
<div>Undefined symbols:</div><div> "_GEOSIntersection", referenced from:</div><div> QgsGeometry::lineContainedInLine(GEOSGeom_t const*, GEOSGeom_t const*)in qgsgeometry.cpp.o</div><div> QgsGeometry::topologicalTestPointsSplit(GEOSGeom_t const*, QList<QgsPoint>&) constin qgsgeometry.cpp.o</div>
<div> QgsGeometry::reshapeLine(GEOSGeom_t const*, GEOSGeom_t const*)in qgsgeometry.cpp.o</div><div> QgsGeometry::splitPolygonGeometry(GEOSGeom_t*, QList<QgsGeometry*>&)in qgsgeometry.cpp.o</div><div> QgsGeometry::intersection(QgsGeometry*)in qgsgeometry.cpp.o</div>
</div><div><br></div><div>....</div><div><br></div><div><div>ld: symbol(s) not found</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [output/lib/qgis_core.framework/Versions/2.1/qgis_core] Error 1</div>
<div>make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div></div><div><br></div><div>Josh</div></div>