[GRASS-user] problems with compile i.landsat.acca add-onn

Markus Neteler neteler at osgeo.org
Fri Sep 4 18:34:11 EDT 2009


On Fri, Sep 4, 2009 at 2:14 PM, Saami Riet<cosmicmichi at gmx.de> wrote:
>
> Thank you Markus
> again...the problem with compile the add-onn under Ubuntu is not fixed,
> changed the path in the file Platform.make:
>
> 67  GRASS_HOME          = /usr/lib/grass64/
> 68  RUN_GISBASE         = /usr/lib/grass64/
>
> used again the command:
>
> sudo make MODULE_TOPDIR=/usr/lib/grass64
>
> and got the following messages:
> ...
> /usr/lib/grass64/include/Make/Module.make:15: Warnung: Alte Befehle für das
> Ziel »/usr/lib/grass64/« werden ignoriert
> gcc -I/usr/lib/grass64/ /dist.i486-pc-linux-gnu/include  -Wall -g -O
> -DPACKAGE=\""grassmods"\"  -I/usr/lib/grass64/
> /dist.i486-pc-linux-gnu/include  ...

As you can see you have an illegal white space there:

gcc -I/usr/lib/grass64/ /dist.i486-pc-linux-gnu/include ...
should be
gcc -I/usr/lib/grass64/dist.i486-pc-linux-gnu/include
etc.

Please carefully check Platform.make for this (I suggest to remove the
trailing / from the

> 67  GRASS_HOME          = /usr/lib/grass64/
> 68  RUN_GISBASE         = /usr/lib/grass64/

entries.

cheers
Markus


More information about the grass-user mailing list