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.




Markus

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to