[Qgis-developer] make install fails on GdalTools/resources_rc.py
Nikolai Bezdna
mofoyoda at gmail.com
Thu Mar 10 05:02:18 PST 2016
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