On 29/09/15 11:11, Paulo van Breugel wrote:


On 28-09-15 10:48, Markus Neteler wrote:
On Fri, Sep 11, 2015 at 2:40 PM, Moritz Lennert
<mlenn...@club.worldonline.be> wrote:
The following patch seems to do the trick, but I'm not familiar enough with
make to judge whether this is the right solution:

Index: Makefile
===================================================================
--- Makefile    (révision 66168)
+++ Makefile    (copie de travail)
@@ -13,6 +13,8 @@

   default: cmd

+$(OBJDIR)/v.mapcalc.tab.o: v.mapcalc.tab.h
+
   yylex.c: v.mapcalc.tab.h

   .INTERMEDIATE: v.mapcalc.tab.c v.mapcalc.tab.h v.mapcalc.output

For the record: submitted in r66361 (otherwise we'll never figure it out).
Paulo, please test.
Tried to install it using g.extension, but still fails:

GRASS 7.1.svn (latlon):~ > g.extension v.mapcalc

Fetching <v.mapcalc> from GRASS GIS Addons 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.

Glynn, can you help us on this ? We need to find the correct Makefile for the v.mapcalc addon [1]

Moritz

[1] https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.mapcalc
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to