Hi Idan, what's important in the end is what's in the CMakeLists.txt in your build folder, I'd suggest to have a look at the content of this file first (and possibly re-run cmake or ccmake with different parameters until you get the desired CMAKE_INSTALL_PREFIX).
> Suppose I run make install, should I still be able to run QGIS from the repos without any issues? As long as it's installed to a different prefix: totally Cheers Matthias On 03/25/2018 02:22 PM, Idan Miara wrote: > $ env | grep HOME= > HOME=/home/idan > > > On 25 March 2018 at 14:17, Patrick Dunford <[email protected] > <mailto:[email protected]>> wrote: > > 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] <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 -- Matthias Kuhn [email protected] <mailto:[email protected]> +41 (0)76 435 67 63 OPENGIS.ch Logo <https://www.opengis.ch>
_______________________________________________ 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
