Thanks, Patrick! I also run a Debian server and checked dependencies there; QGIS2 does not require postgresql. On my mac laptop, I'd rather not install postgresql -- it's not that it's complicated to do so, I just don't expect to use it and would rather avoid the clutter. So I'm just looking for a way to turn off postgresql in the build of QGIS2.99. I tried adding this to David Marteau's makefile: -DWITH_POSTGRESQL=FALSE \But it's not turning off postgresql. testqgspostgresprovider.cpp insists on including it. Maybe I can turn off the test suite? So what I'm trying to find out is just how to turn off this dependency, since it appears to be optional. Who would know? Cheers, David Configuration from makefile (added libzip lines) configure: mkdir -p $(BUILDDIR) rm -rf $(BUILDDIR)/CMakeCache.txt cd $(BUILDDIR) && cmake $(CMAKE_OPTS) \ -DWITH_ASTYLE=ON \ -DCMAKE_INSTALL_PREFIX:PATH=$(INSTALL_PATH) \ -DWITH_SERVER=ON \ -DWITH_POSTGRESQL=FALSE \ -DLIBZIP_INCLUDE_DIR:PATH=/opt/local/include \ -DLIBZIP_CONF_INCLUDE_DIR:FILEPATH=/opt/local/lib/libzip/include \ -DLIBZIP_LIBRARY:FILEPATH=/opt/local/lib/libzip.dylib \ -DEXPAT_INCLUDE_DIR:PATH=/opt/local/include \ -DEXPAT_LIBRARY:FILEPATH=/opt/local/lib/libexpat.dylib \ -DSQLITE3_INCLUDE_DIR:PATH=/opt/local/include \ -DSQLITE3_LIBRARY:FILEPATH=/opt/local/lib/libsqlite3.dylib \ -DQT_QMAKE_EXECUTABLE:FILEPATH=/opt/local/libexec/qt5/bin/qmake \ -DQWT_INCLUDE_DIR:PATH=/opt/local/libexec/qt5/include/qwt \ -DQWT_LIBRARY:FILEPATH=/opt/local/libexec/qt5/lib/libqwt.dylib \ -DQCA_INCLUDE_DIR:PATH=/opt/local/libexec/qt5/include/QtCrypto \ -DQCA_LIBRARY:FILEPATH=/opt/local/libexec/qt5/lib/libqca-qt5.dylib \ -DQSCINTILLA_INCLUDE_DIR:PATH=/opt/local/libexec/qt5/include \ -DQSCINTILLA_LIBRARY:FILEPATH=/opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib \ -DQTKEYCHAIN_INCLUDE_DIR:PATH=/usr/local/include/qt5keychain \ -DQTKEYCHAIN_LIBRARY:FILEPATH=/usr/local/lib/libqt5keychain.dylib \ -DQT_LRELEASE_EXECUTABLE:FILEPATH=/opt/local/libexec/qt5/bin/lrelease \ On 9/20/17 10:24 PM, Patrick Dunford wrote: Ok so I gave you a Linux answer :)
|
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user