[Qgis-developer] Mac build error. (QWT??)

Tasos Varoudis null at archtech.gr
Mon Dec 3 04:00:17 PST 2012


Hello all,

Even though I manage to build egis a couple of weeks ago now I get the erros at the end of the email.

Best,
Tasos

#### cmake 

➜  Quantum-GIS-MacBuild  /usr/local/bin/cmake -D CMAKE_INSTALL_PREFIX="/Users/varoudis/Dropbox/Git/Quantum-GIS-MacBuild" \
-D CMAKE_BUILD_TYPE="Debug" \
   -D WITH_ASTYLE=FALSE \
      -D WITH_INTERNAL_SPATIALITE=FALSE \
         -D WITH_PYSPATIALITE=FALSE \
            -D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \
               -D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \
                  -D BISON_EXECUTABLE=/usr/local/bin/bison \
                     -D QWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.0.1/lib/qwt.framework/Versions/6/Headers \
                        -D WITH_MAPSERVER=TRUE \
                           -D WITH_APIDOC=FALSE \
                              -D QGIS_MACAPP_BUNDLE=2 \
                              -D QWT_LIBRARY=/usr/local/lib/qwt.framework \
                                ../Quantum-GIS/
-- Quantum GIS version: 1.9.0 Master (10900)
-- Could not find GRASS
-- Found Proj: /Library/Frameworks/PROJ.framework
-- Found GEOS: /Library/Frameworks/GEOS.framework
-- Found GDAL: /Library/Frameworks/GDAL.framework (1.8.1)
-- Found Expat: /usr/local/lib/libexpat.dylib
-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
-- Found Qwt: /usr/local/lib/qwt.framework (6.0.1)
-- Found Sqlite3: /Library/Frameworks/SQLite3.framework
-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.2.1/lib/libpq.dylib
-- Found SpatiaLite: /Library/Frameworks/SQLite3.framework
-- Touch support disabled
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found Python executable: /usr/local/bin/python
-- Found Python version: 2.7.3
-- Found Python library: -framework Python
-- Found SIP version: 4.13.3
-- Found PyQt4 version: 4.9.4
-- Found QScintilla2 PyQt4 module: qsci_version_str:

-- Found GSL: /Library/Frameworks/GSL.framework
-- Found FCGI: /usr/local/lib/libfcgi.dylib
-- txt2tags not found - disabled
-- Ctest Binary Directory  set to: /Users/varoudis/Dropbox/Git/Quantum-GIS/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/varoudis/Dropbox/Git/Quantum-GIS

###### Build ######
➜  Quantum-GIS-MacBuild  make -j9
-- Quantum GIS version: 1.9.0 Master (10900)
-- Could not find GRASS
-- Found Proj: /Library/Frameworks/PROJ.framework
-- Found GEOS: /Library/Frameworks/GEOS.framework
-- Found GDAL: /Library/Frameworks/GDAL.framework (1.8.1)
-- Found Expat: /usr/local/lib/libexpat.dylib
-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
-- Found Qwt: /usr/local/lib/qwt.framework (6.0.1)
-- Found Sqlite3: /Library/Frameworks/SQLite3.framework
-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.2.1/lib/libpq.dylib
-- Found SpatiaLite: /Library/Frameworks/SQLite3.framework
-- Touch support disabled
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found Python executable: /usr/local/bin/python
-- Found Python version: 2.7.3
-- Found Python library: -framework Python
-- Found SIP version: 4.13.3
-- Found PyQt4 version: 4.9.4
-- Found QScintilla2 PyQt4 module: qsci_version_str:

-- Found GSL: /Library/Frameworks/GSL.framework
-- Found FCGI: /usr/local/Cellar/fcgi/2.4.0/lib/libfcgi++.0.0.0.dylib
-- txt2tags not found - disabled
-- Ctest Binary Directory  set to: /Users/varoudis/Dropbox/Git/Quantum-GIS-MacBuild/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/varoudis/Dropbox/Git/Quantum-GIS-MacBuild
[  0%] [  1%] Generating ui_qgisapp.h
[  2%] Generating qgsversion.h
Generating ../output/i18n/qgis_de.qm

############## Error #########
Copying OS X content output/lib/qgis_gui.framework/Versions/1.9/Headers/qgsexpressionbuilderwidget.h
[ 48%] Built target python_module_qgis_analysis
Linking CXX shared library ../../output/lib/qgis_gui.framework/Versions/1.9/qgis_gui
Linking CXX executable ../../output/bin/qgis_mapserv.fcgi
ld: framework not found qwt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [output/lib/qgis_gui.framework/Versions/1.9/qgis_gui] Error 1
make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
  "_FCGI_Accept", referenced from:
      fcgi_accept() in qgis_map_serv.cpp.o
  "_FCGI_fprintf", referenced from:
      defaultProjectFile() in qgis_map_serv.cpp.o
      QgsSLDParser::contourLayerFromRaster(QDomElement const&, QgsRasterLayer*) const in qgssldparser.cpp.o
  "_FCGI_fwrite", referenced from:
      QgsHttpRequestHandler::sendHttpResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::startGetFeatureResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::sendGetFeatureResponse(QByteArray*) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::endGetFeatureResponse(QByteArray*) const in qgshttprequesthandler.cpp.o
      QgsSOAPRequestHandler::sendSOAPWithAttachments(QImage*) const in qgssoaprequesthandler.cpp.o
  "_FCGI_getchar", referenced from:
      QgsHttpRequestHandler::readPostBody() const in qgshttprequesthandler.cpp.o
  "_FCGI_printf", referenced from:
      QgsHttpRequestHandler::sendHttpResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::startGetFeatureResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsSOAPRequestHandler::sendSOAPWithAttachments(QImage*) const in qgssoaprequesthandler.cpp.o
  "__fcgi_sF", referenced from:
      defaultProjectFile() in qgis_map_serv.cpp.o
      QgsHttpRequestHandler::sendHttpResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::startGetFeatureResponse(QByteArray*, QString const&) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::sendGetFeatureResponse(QByteArray*) const in qgshttprequesthandler.cpp.o
      QgsHttpRequestHandler::endGetFeatureResponse(QByteArray*) const in qgshttprequesthandler.cpp.o
      QgsSOAPRequestHandler::sendSOAPWithAttachments(QImage*) const in qgssoaprequesthandler.cpp.o
      QgsSLDParser::contourLayerFromRaster(QDomElement const&, QgsRasterLayer*) const in qgssldparser.cpp.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [output/bin/qgis_mapserv.fcgi] Error 1
make[1]: *** [src/mapserver/CMakeFiles/qgis_mapserv.fcgi.dir/all] Error 2
Linking CXX shared module ../output/python/qgis/core.so
[ 48%] Built target python_module_qgis_core
/bin/sh: line 1: 22039 Segmentation fault: 11  ../../output/bin/crssync
make[2]: *** [src/crssync/CMakeFiles/synccrsdb] Error 139
make[1]: *** [src/crssync/CMakeFiles/synccrsdb.dir/all] Error 2
make: *** [all] Error 2
➜  Quantum-GIS-MacBuild  


More information about the Qgis-developer mailing list