What is the value of ${HOME} for the current user

Type env in a terminal then read out HOME

On 25/03/18 23:55, Idan Miara wrote:
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 <[email protected] <mailto:[email protected]>> 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 list
    [email protected]
    <mailto:[email protected]>
    List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
    Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer
    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>


    _______________________________________________
    QGIS-Developer mailing list
    [email protected] <mailto:[email protected]>
    List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
    Unsubscribe:
    https://lists.osgeo.org/mailman/listinfo/qgis-developer
    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>



_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to