[QGIS-Developer] Build / install issues

Richard Duivenvoorde rdmailings at duif.net
Sun Oct 24 23:13:39 PDT 2021


Hi Colin,

Could it be that you have 'WITH_CUSTOM_WIDGETS' ON?
Because that makes that the installer tries to install the qgs(custom) widgets in the QT_PLUGINS_DIR which you can only write to as root.

Would be nice if we could take that out indeed, having custom widgets and a non root install is currently not possible for what I know... But I do not know if Qt is willing to load custom widgets other then from it's plugin dir.

Regards,

Richard Duivenvoorde

On 10/25/21 4:41 AM, Colin Sare-Soar wrote:
> I originally posted this as a bug on Github but was told it was better posted here.
> 
> Although it isn't qgis itself, it is the build system.
> When I enter the CMAKE_INSTALL_PREFIX as ${HOME}/apps as suggested, the install fails as unable to create directory
> "/apps//apps/man/man1 - maybe need admin privileges"
> I have no idea where it gets this spurious path from. I checked the cmake_install_cmake file and that was even stranger.
> The entry was "${CMAKE_INSTALL_PREFIX} ${HOME}/apps/man/man.1" - obviously wrong!
> I entered "~/apps" in the ninja config script and that expanded correctly to give "/home/colins2/apps".
> running 'ninja install' then correctly built and installed qgis.
> I don't think it is my system (Mint 20.1) because when I entered the line
> "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/apps/lib/" they expanded correctly. it must be something in the script generator that causes the error. It happens both with ninja and the cmake scripts.
> 
> Maybe it is only Mint but worth a comment somewhere maybe.
> Colin
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 



More information about the QGIS-Developer mailing list