[Qgis-developer] problem with GRASS 7 when creation a new mapset

matteo matteo.ghetta at gmail.com
Thu Oct 22 06:18:53 PDT 2015


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?

Thanks!

Matteo


More information about the Qgis-developer mailing list