[GRASS-dev] installing v.mapcalc fails

Paulo van Breugel p.vanbreugel at gmail.com
Sun Aug 2 14:42:51 PDT 2015


On Sun, Aug 2, 2015 at 8:51 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Sun, Aug 2, 2015 at 8:45 PM, Paulo van Breugel
> <p.vanbreugel at gmail.com> wrote:
> > Hi Markus
> >
> > On Linux (Ubuntu 14.04). Tried it again, with another error message this
> > time:
> >
> > g.extension extension=v.mapcalc
> > svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
> > Fetching <v.mapcalc> from GRASS-Addons SVN repository (be patient)...
> > Compiling...
> > yylex.c:9:27: fatal error: v.mapcalc.tab.h: No such file or
> > directory
> >  #include "v.mapcalc.tab.h"
> >                            ^
> > compilation terminated.
> > make: *** [OBJ.x86_64-unknown-linux-gnu/yylex.o] Error 1
> > ERROR: Compilation failed, sorry. Please check above error messages.
>
> I tried on my Fedora 21 box:
>
> GRASS 7.0.2svn (nc_spm_08_grass7):~ > g.extension extension=v.mapcalc
> Fetching <v.mapcalc> from GRASS-Addons SVN repository (be patient)...
> Compiling...
> In file included from /usr/include/stdio.h:27:0,
>                  from number.c:3:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use
> _DEFAULT_SOURCE"
>    ^
> Installing...
> Updating addons metadata file...
> Installation of <v.mapcalc> successfully finished
>
> No issues...
>
> The file "missing" seems to be generated on the fly:
>
> [neteler at oboe v.mapcalc]$ grep v.mapcalc.tab.h *
> Makefile:yylex.c: v.mapcalc.tab.h
> Makefile:.INTERMEDIATE: v.mapcalc.tab.c v.mapcalc.tab.h v.mapcalc.output
> grep: OBJ.x86_64-unknown-linux-gnu: Is a directory
> grep: plugins: Is a directory
> yylex.c:#include "v.mapcalc.tab.h"
>
> Do you have the 'bison' program installed? That's needed.
>

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.

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


More information about the grass-dev mailing list