Opened 8 years ago
Closed 7 years ago
#53668 closed defect (invalid)
QGIS @2_18_2_2: QSCINTILLA_LIBRARY NOTFOUND
Reported by: | ChrisFr | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | platipodium (Carsten Lemmen), SiggyF, basmac, fvaccari | |
Port: | qgis |
Attachments (2)
Change History (12)
Changed 8 years ago by ChrisFr
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Veence removed |
---|---|
Description: | modified (diff) |
Keywords: | qscintilla removed |
Owner: | set to Veence |
Status: | new → assigned |
Summary: | QGIS 2_18_2_2 fails to build on OSX 10.10.5 → QGIS @2_18_2_2: QSCINTILLA_LIBRARY NOTFOUND |
The log says the error is:
:info:configure CMake Error: The following variables are used in this project, but they are set to NOTFOUND. :info:configure Please set them or make sure they are set and tested correctly in the CMake files: :info:configure QSCINTILLA_LIBRARY :info:configure linked by target "qgis_gui" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/src/gui
comment:2 Changed 8 years ago by platipodium (Carsten Lemmen)
Cc: | platipodium added |
---|
comment:3 Changed 8 years ago by SiggyF
Cc: | SiggyF added |
---|
comment:4 Changed 8 years ago by SiggyF
The name of the library that it should find is /opt/local/libexec/qt4/lib/libqscintilla2_qt4.dylib
. The libraries where cmake is looking for are "qscintilla2 libqscintilla2 libqscintilla2.dylib
". I think the cmake configuration should be changed to search for the name qscintilla2_qt4
or libqscintilla2_qt4.dylib
. The same problem will likely occur if qt5 is used, the library is then called "/opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib
" (from the port contents of qscintilla2
).
comment:5 Changed 8 years ago by basmac
Cc: | basmac added |
---|
comment:6 Changed 8 years ago by basmac
Removed macports, started rebuilding using gcc6 as default. Everything built except QGIS
-- The C compiler identification is AppleClang 8.0.0.8000042 -- The CXX compiler identification is AppleClang 8.0.0.8000042 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- QGIS version: 2.18.2 Las Palmas (21802) -- Looking for openpty -- Looking for openpty - found -- Found Proj: /opt/local/lib/libproj.dylib -- Found GEOS: /opt/local/lib/libgeos_c.dylib (3.6.1) -- Found GDAL: /opt/local/lib/libgdal.dylib (2.1.2) -- Found Expat: /opt/local/lib/libexpat.dylib -- Found Spatialindex: /opt/local/lib/libspatialindex.dylib -- Found Qwt: /opt/local/libexec/qt4/lib/libqwt.dylib (6.1.3) -- Found Sqlite3: /opt/local/lib/libsqlite3.dylib -- Found PostgreSQL: /opt/local/lib/postgresql96/libpq.dylib -- Found SpatiaLite: /opt/local/lib/libspatialite.dylib -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib - found -- Looking for gaiaStatisticsInvalidate in /opt/local/lib/libspatialite.dylib -- Looking for gaiaStatisticsInvalidate in /opt/local/lib/libspatialite.dylib - found -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib - found -- Qt WebKit support enabled -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for QT_MAC_USE_COCOA -- Looking for QT_MAC_USE_COCOA - found -- Found Qt4: /opt/local/libexec/qt4/bin/qmake (found suitable version "4.8.7", minimum required is "4.8.0") -- Found Qt version: 4.8.7 -- Touch support disabled -- Found QCA: /opt/local/libexec/qt4/lib/libqca.dylib (2.1.0) -- Found QCA OpenSSL plugin -- Pedantic compiler settings enabled -- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7") -- Found PythonInterp: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python (found suitable version "2.7.13", minimum required is "2.7") -- Found Python executable: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python -- Found Python version: 2.7.13 -- Found Python library: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -- Found PyQt4 version: 4.12 -- Found SIP version: 4.19.1 -- Found QScintilla2 PyQt module: 2.10 -- Found GSL: -L/opt/local/lib -lgsl -lgslcblas -- Found FCGI: /opt/local/lib/libfcgi.dylib -- txt2tags not found - disabled -- Ctest Binary Directory set to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/build/output/bin CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QSCINTILLA_LIBRARY linked by target "qgis_gui" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/src/gui -- Configuring incomplete, errors occurred! See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/build/CMakeFiles/CMakeOutput.log". See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/build/CMakeFiles/CMakeError.log". Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2/build" && cmake .. -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DWITH_GRASS=OFF -DWITH_GRASS7=OFF -DWITH_QWTPOLAR=FALSE -DGIT_MARKER=NOTFOUND -DENABLE_TEST=NO -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang -DEXPAT_INCLUDE_DIR=/opt/local/include -DEXPAT_LIBRARY=/opt/local/lib/libexpat.dylib -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQGIS_MACAPP_BUNDLE=0 -DGDAL_CONFIG=/opt/local/bin/gdal-config -DGDAL_INCLUDE_DIR=/opt/local/include -DGDAL_LIBRARY=/opt/local/lib/libgdal.dylib -DGEOS_CONFIG=/opt/local/bin/geos-config -DGEOS_INCLUDE_DIR=/opt/local/include -DGEOS_LIBRARY=/opt/local/lib/libgeos_c.dylib -DGSL_CONFIG=/opt/local/bin/gsl-config -DPROJ_INCLUDE_DIR=/opt/local/include -DPROJ_LIBRARY=/opt/local/lib/libproj.dylib -DSPATIALINDEX_LIBRARY=/opt/local/lib/libspatialindex.dylib -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_QT5=OFF -DPYTHON_CUSTOM_FRAMEWORK=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 -DSIP_BINARY_PATH=/opt/local/bin/sip-2.7 -DPYUIC_PROGRAM=/opt/local/bin/pyuic4-2.7 -DPYRCC_PROGRAM=/opt/local/bin/pyrcc4-2.7 -DWITH_SERVER=TRUE -DWITH_SERVER_PLUGINS=TRUE -DQWT_INCLUDE_DIR=/opt/local/libexec/qt4/include/qwt -DQWT_LIBRARY=/opt/local/libexec/qt4/lib/libqwt.dylib -DQCA_INCLUDE_DIR=/opt/local/libexec/qt4/include/QtCrypto -DQCA_LIBRARY=/opt/local/libexec/qt4/lib/libqca.dylib -DPOSTGRES_CONFIG=/opt/local/lib/postgresql96/bin/pg_config -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.11" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/QGIS-2_18_2 Exit code: 1 Error: Failed to configure QGIS: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port QGIS failed [mac02:/opt/local/lib] root#
comment:7 Changed 8 years ago by Veence (Vincent)
Yeah, I know, this is going to be solved once I have overpassed a last hurdle
comment:8 Changed 8 years ago by fvaccari
Cc: | fvaccari added |
---|
comment:9 Changed 8 years ago by basmac
Just a note, although the build of QGIS gave no errors on ElCap and Sierra, I had to remove /Applications/MacPorts/QGIS.app, then build to get the new working QGIS.app to appear.
comment:10 Changed 7 years ago by Veence (Vincent)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
main log