On Thu, Oct 22, 2015 at 3:18 PM, matteo <[email protected]> wrote:
> Hi Radim,
> thanks for the reply..
>
>> You are running qgis from build (src in this case) dir? Try to install
>> qgis and run it from installation target dir. You will have to add
>> path to grass libs to LD_LIBRARY_PATH.
>
> yes.. I run QGIS from build
> (/home/ma7730/lavori/QGIS/QGIS-Master/buildM/output)
>
> in the bash script I use to launch QGIS, the LD_LIBRARY_PATH is already
> specified:
>
>
> #!/bin/bash
> export
> QGIS_INSTALL_PREFIX="/home/ma7730/lavori/QGIS/QGIS-Master/buildM/output"
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QGIS_INSTALL_PREFIX/lib
> export PYTHONPATH=$QGIS_INSTALL_PREFIX/python/qgis
> export PYTHONPATH=$PYTHONPATH:/home/$USER/.qgis2/python/plugins
> export QGIS_DEBUG=3
> #export QGIS_LOG_FILE=./qgis.log
>
> $QGIS_INSTALL_PREFIX/bin/qgis $@
>
> isn't this enough? Should I specify a different path for GRASS?

Here you add only path to QGIS libs, if path to GRASS libs is not
already in LD_LIBRARY_PATH, you must add it also.

Radim
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to