<div dir="ltr"><div><div><br><br>On Fri, Apr 7, 2017 at 9:09 AM, Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>><br>> Hi Devs<br>><br>> I am trying to install r.pi addon, but I am getting the following error message:<br>><br>> Fetching <r.pi> from GRASS GIS Addons repository (be patient)...<br>> Compiling...<br>> /usr/bin/ld: cannot open output file<br>> /usr/local/grass7/grass-7.3.svn/lib/<a href="http://libgrass_rpi.7.3.svn.so">libgrass_rpi.7.3.svn.so</a>:<br>> Permission denied<br>> collect2: error: ld returned 1 exit status<br>> make[1]: *** [/usr/local/grass7/grass-7.3.svn/lib/libgrass_r<br>> <a href="http://pi.7.3.svn.so">pi.7.3.svn.so</a>] Error 1<br>> /bin/sh: 1: cannot create<br>> /usr/local/grass7/grass-7.3.svn/error.log: Permission denied<br>> make: *** [r.pi.library] Error 2<br>> ERROR: Compilation failed, sorry. Please check above error messages.<br>><br>> It seems it is not installing the plugin in the plugin folder but in the grass7 system folder?<br><br></div>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.<br><br></div><div>If you compile GRASS from source, you can svn checkout the r.pi folder, manually run make and (as root) make install.<br></div><div><br></div>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.<br><div><div><br></div><div>Markus M<br></div></div></div>