[QGIS-Developer] QGIS make install without root on Ubuntu
Idan Miara
idan at miara.com
Sun Mar 25 03:55:54 PDT 2018
Thanks for your reply!
I followed the instructions as is, including setting:
CMAKE_INSTALL_PREFIX to ${HOME}/apps as advised.
So why does it try (and fail) to set the file /apps//apps/man/man1/qgis.1 ?
On 25 March 2018 at 12:26, Patrick Dunford <enzedrailmaps at gmail.com> wrote:
> The build instructions advise to put an apps dir in your home path e.g.
>
> ~/apps
>
> If you choose to put apps in the root path i.e. /apps you must make sure
> you have given yourself permissions to that path.
>
> On 25/03/18 21:56, Idan Miara wrote:
>
> Hi,
>
> I've been following the building guide on Ubuntu 17.10 and came across the
> following issue while running "make install" without root, then I get the
> error message:
>
> CMake Error at cmake_install.cmake:36 (file):
> file INSTALL cannot set permissions on "/apps//apps/man/man1/qgis.1"
>
> If I run it with sudo it installs fine
> should it work without root?
>
> I suppose you intended it to work without root, because I needed to the
> following commands without $HOME or ${HOME} after running "sudo make
> install" in order to run QGIS:
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/apps/lib/
> $HOME/apps/bin/qgis
>
> Suppose I run make install, should I still be able to run QGIS from the
> repos without any issues?
>
> Kind Regards,
> Idan
>
>
> _______________________________________________
> QGIS-Developer mailing listQGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180325/fbecd867/attachment-0001.html>
More information about the QGIS-Developer
mailing list