<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 07-04-17 14:05, Markus Metz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG+h=FFgTAPWUggAaC+zDmwYXTpw6xtrzPLZoRirEG7geAABQg@mail.gmail.com">
<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"
moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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>
</blockquote>
<br>
OK, thanks for the information. This is a disadvantages of having
all addons automatically listed in the g.extension installer, even
if it is known to not install. The same is true for shell scripts,
which can also not be installed automatically using g.extension
a.f.a.i.k. Would it be an idea, and possible, to exclude them from
the list shows in the g.extension GUI, but maintaining them e.g., on
the list on <a class="moz-txt-link-freetext" href="https://grass.osgeo.org/grass72/manuals/addons/">https://grass.osgeo.org/grass72/manuals/addons/</a>)?<br>
<br>
<blockquote type="cite"
cite="mid:CAG+h=FFgTAPWUggAaC+zDmwYXTpw6xtrzPLZoRirEG7geAABQg@mail.gmail.com">
<div dir="ltr">
<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>
</blockquote>
<br>
</body>
</html>