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

Matthias Kuhn matthias at opengis.ch
Thu Mar 10 05:05:25 PST 2016


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?
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 


More information about the Qgis-developer mailing list