[GRASSLIST:3012] Re: r.mapcalc

Glynn Clements glynn.clements at virgin.net
Tue Mar 23 06:03:28 EST 2004


Pierluigi De Rosa wrote:

> I'm using grass5.3 cvs and after compiling I haven't command r.mapcalc... so I 
> want to compile single module but I have this error in gmake
> 
> make[1]: Entering directory 
> `/home/ivan/Documents/grass5.3_CVS/grass53_exp_2004_03_13/src/raster/r.mapcalc/polish'

Wrong directory.

> gcc -I/home/ivan/Documents/grass5.3_CVS/grass53_exp_2004_03_13/src/include -g 
> -O2     -c main.c -o OBJ.i686-pc-linux-gnu/main.o
> bison -y -d pol.y
> conflicts: 14 shift/reduce, 17 reduce/reduce
> make[1]: *** [y.tab.c] Broken pipe
> make[1]: Leaving directory 
> `/home/ivan/Documents/grass5.3_CVS/grass53_exp_2004_03_13/src/raster/r.mapcalc/polish'
> make: *** [all] Error 1
> 
> 
> 
> P.S. I noticed there is a file "deprecated" in directory r.mapcalc and it sayd 
> that now the new one is r.mapcalc3...

Yes. Use gmake5 on src/raster/r.mapcalc3 instead.

> How know anythink???
> this below is my last row of command make...
> 
> GISBASE=/home/ivan/Documents/grass5.3_CVS/grass53_exp_2004_03_13/dist.i686-pc-linux-gnu 
> MACHINENAME=`uname -n` 
> SRCDIR=/home/ivan/Documents/grass5.3_CVS/grass53_exp_2004_03_13 /bin/sh 
> src/CMD/generic/POST_INSTALL.sh i686-pc-linux-gnu
> 
> GRASS GIS source code compiled.
> 
> Compilation error in module: src/raster/r.binfer (ignored)
> Compilation error in module: src/raster/r.combine (ignored)
> Compilation error in module: src/raster/r.mapcalc3 (ignored)

That's the "real" r.mapcalc. I would need to see the actual error
messages in order to know why it failed.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list