[GRASS-dev] r.pi installation fails

Markus Metz markus.metz.giswork at gmail.com
Fri Apr 7 05:05:36 PDT 2017


On Fri, Apr 7, 2017 at 9:09 AM, Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:
>
> Hi Devs
>
> I am trying to install r.pi addon, but I am getting the following error
message:
>
> Fetching <r.pi> from GRASS GIS Addons repository (be patient)...
> Compiling...
> /usr/bin/ld: cannot open output file
> /usr/local/grass7/grass-7.3.svn/lib/libgrass_rpi.7.3.svn.so:
> Permission denied
> collect2: error: ld returned 1 exit status
> make[1]: *** [/usr/local/grass7/grass-7.3.svn/lib/libgrass_r
> pi.7.3.svn.so] Error 1
> /bin/sh: 1: cannot create
> /usr/local/grass7/grass-7.3.svn/error.log: Permission denied
> make: *** [r.pi.library] Error 2
> ERROR: Compilation failed, sorry. Please check above error messages.
>
> It seems it is not installing the plugin in the plugin folder but in the
grass7 system folder?

At least it tries to install the r.pi library in the system folder and not
in the local addons folder. Even if the r.pi library would be installed to
the local addons folder, the library path would need to be modified
accordingly, not sure if g.extension handles that.

If you compile GRASS from source, you can svn checkout the r.pi folder,
manually run make and (as root) make install.

Also note that porting the r.pi modules to GRASS7 is work in progress,
there are still known bugs and they are not yet well tested.

Markus M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170407/e41aa5b3/attachment.html>


More information about the grass-dev mailing list