<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 2, 2015 at 11:42 PM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Aug 2, 2015 at 8:51 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Sun, Aug 2, 2015 at 8:45 PM, Paulo van Breugel<br>
<<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>> wrote:<br>
> Hi Markus<br>
><br>
> On Linux (Ubuntu 14.04). Tried it again, with another error message this<br>
> time:<br>
><br>
> g.extension extension=v.mapcalc<br>
> svnurl=<a href="http://svn.osgeo.org/grass/grass-addons/grass7" rel="noreferrer" target="_blank">http://svn.osgeo.org/grass/grass-addons/grass7</a><br>
> Fetching <v.mapcalc> from GRASS-Addons SVN repository (be patient)...<br>
> Compiling...<br>
> yylex.c:9:27: fatal error: v.mapcalc.tab.h: No such file or<br>
> directory<br>
> #include "v.mapcalc.tab.h"<br>
> ^<br>
> compilation terminated.<br>
> make: *** [OBJ.x86_64-unknown-linux-gnu/yylex.o] Error 1<br>
> ERROR: Compilation failed, sorry. Please check above error messages.<br>
<br>
</span>I tried on my Fedora 21 box:<br>
<br>
GRASS 7.0.2svn (nc_spm_08_grass7):~ > g.extension extension=v.mapcalc<br>
<span>Fetching <v.mapcalc> from GRASS-Addons SVN repository (be patient)...<br>
Compiling...<br>
</span>In file included from /usr/include/stdio.h:27:0,<br>
from number.c:3:<br>
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and<br>
_SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]<br>
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"<br>
^<br>
Installing...<br>
Updating addons metadata file...<br>
Installation of <v.mapcalc> successfully finished<br>
<br>
No issues...<br>
<br>
The file "missing" seems to be generated on the fly:<br>
<br>
[neteler@oboe v.mapcalc]$ grep v.mapcalc.tab.h *<br>
Makefile:yylex.c: v.mapcalc.tab.h<br>
Makefile:.INTERMEDIATE: v.mapcalc.tab.c v.mapcalc.tab.h v.mapcalc.output<br>
grep: OBJ.x86_64-unknown-linux-gnu: Is a directory<br>
grep: plugins: Is a directory<br>
yylex.c:#include "v.mapcalc.tab.h"<br>
<br>
Do you have the 'bison' program installed? That's needed.<br></blockquote><div><br></div></div></div><div>Yes (it is, I think, also needed to compile grass itself?). Just to be complete, off all the ones I tried, this is the only one not installing. <br></div></div></div></div></blockquote><div><br>Tried again to install v.mapcalc after updating my grass 7.1, the module installed successfully. Thanks Markus<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br></div></div>
</blockquote></div><br></div></div>