[QGIS-Developer] QGIS make install without root on Ubuntu
Matthias Kuhn
matthias at opengis.ch
Sun Mar 25 05:28:59 PDT 2018
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 <enzedrailmaps at gmail.com
> <mailto:enzedrailmaps at gmail.com>> 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
>> <enzedrailmaps at gmail.com <mailto: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 list
>>> QGIS-Developer at lists.osgeo.org
>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>> 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
>> QGIS-Developer at lists.osgeo.org
>> <mailto:QGIS-Developer at lists.osgeo.org>
>> 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
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> 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
> 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
--
Matthias Kuhn
matthias at opengis.ch <mailto:matthias at opengis.ch>
+41 (0)76 435 67 63
OPENGIS.ch Logo <https://www.opengis.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180325/b51eec1e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6671 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180325/b51eec1e/attachment.png>
More information about the QGIS-Developer
mailing list