[Qgis-developer] make install fails on GdalTools/resources_rc.py

Nikolai Bezdna mofoyoda at gmail.com
Fri Mar 11 04:35:36 PST 2016


Thanks a lot Matthias, this flag worked for me.
However, when starting QGIS from this build I get an error:
"Couldn't load plugin 'processing'
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/pyspatialite/_spatialite.so, 2): Library not loaded: /usr/local/opt/geos/lib/libgeos-3.4.2.dylib   Referenced from: /usr/local/lib/python2.7/site-packages/pyspatialite/_spatialite.so   Reason: image not found" 

I have a geos version 3.5.0, so it seems like pyspatialite gets build against geos version 3.4.2 somehow. Reinstalled it with pip and still have this error. I’ve checked geos and can confirm 3.4.2 is not present on my system. Is it possible to overcome this one and have processing plugin working?

Nick
 
       Try specifying WITH_STAGED_PLUGINS=TRUE in cmake

On 03/10/2016 02:02 PM, Nikolai Bezdna wrote:
> I'm trying to compile QGIS on OS X with Homebrew and create a Homebrew formula as a result.
> I get an error when running make install:
> 
> -- Installing: /usr/local/Cellar/qgis-214/HEAD/QGIS.app/Contents/MacOS/../Resources/python/plugins/GdalTools/./GdalTools.py
> CMake Error at python/plugins/GdalTools/cmake_install.cmake:31 (file):
> file INSTALL cannot find
> "/tmp/qgis-21420160304-35396-19lc7z/build/python/plugins/GdalTools/resources_rc.py".
> Call Stack (most recent call first):
> python/plugins/cmake_install.cmake:32 (include)
> python/cmake_install.cmake:143 (include)
> cmake_install.cmake:41 (include)
> 
> I guess this line in a MakeFile is causing the trouble:
> PYQT_ADD_RESOURCES(PYRC_FILES resources.qrc)
> 
> Should the file be named resources.qrc or resources.rc?
> 
> When compiling 2.14 release, this same error looks slightly different (I guess fTools and GdalTools are virtually the same):
> 
> CMake Error at python/plugins/fTools/cmake_install.cmake:31 (file):
> file INSTALL cannot find
> "/tmp/qgis-21420160303-19666-1qyvi01/QGIS-release-2_14/build/python/plugins/fTools/resources_rc.py".
> Call Stack (most recent call first):
> python/plugins/cmake_install.cmake:32 (include)
> python/cmake_install.cmake:143 (include)
> cmake_install.cmake:41 (include)
> 
> My assumption is that resources_rc.py file doesn’t get build in both cases. Can I change something in Makefile to get it built before installing?


More information about the Qgis-developer mailing list