[GRASS-user] How to compile one GRASS module?

Markus Neteler neteler at itc.it
Fri Aug 3 04:59:22 EDT 2007

wen wen wrote on 08/02/2007 09:33 AM:
> Dear All,
> I.m GRASS beginner. I have problem when I want to compile one GRASS
> module (i.e i.biomass module), I used command:
> make MODULE_TOPDIR=$HOME/grass6
> mkdir -p @GRASS_HOME@/bin. at host@
> mkdir -p @GRASS_HOME@/dist. at host@/include/grass
> mkdir -p @GRASS_HOME@/dist. at host@/lib
> mkdir -p @GRASS_HOME@/dist. at host@/bin
> mkdir -p @GRASS_HOME@/dist. at host@/etc
> mkdir -p @GRASS_HOME@/dist. at host@/driver
> mkdir -p @GRASS_HOME@/dist. at host@/driver/db
> mkdir -p @GRASS_HOME@/dist. at host@/fonts
> /bin/sh: CC@: not found
> make: *** [OBJ. at host@/biomass.o] Error 127
> But error still occurs, should I need to install another program to
> compile the module, whereas I have installed make, gcc, and cc.
> Thanks
Wen Wen,

did you run './configure' in the GRASS source code? Otherwise it
won't know on which platform you are compiling.


ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler

More information about the grass-user mailing list