[GRASS-user] Problems to launch QGIS from GRASS
hamish_b at yahoo.com
Sun Dec 11 20:19:25 EST 2011
> When I check the echo $PATH from within GRASS
> session, this is the message,
> GRASS 6.4.1 (spearfish60):~ > echo $PATH
> GRASS 6.4.1 (spearfish60):~ > qgis
> bash: qgis: command not found
> I do not know how to solve it but I am very
> grateful to your help.
ah ok, this is a Mac.
first thing to do is to hunt down the qgis executable and get it into one of the $PATH directories.
ls -l /Applications/QuantumGIS.app/Contents/MacOS/
and look for a qgis file (not directory) with "x" permissions.
once you have that make a symlink into /usr/local/bin
ln -s /Applications/QuantumGIS.app/Contents/MacOS/qgis /usr/local/bin/
you might have to put "sudo" before the symlink to get it to work.
(not sure of exact qgis pathnames, but something
similar to the above)
More information about the grass-user