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

Markus Neteler neteler at osgeo.org
Sun Aug 23 07:41:51 EDT 2009

On Sun, Aug 23, 2009 at 1:24 PM, Saami Riet<cosmicmichi at gmx.de> wrote:
> Saami Riet wrote:
>> I work on a
>> UBUNTU Version 9.04
>> Grass 6.4.0~rc4-3
>> The path to Grass  is:
>>  /usr/lib/grass64
> It was so. The grass-dev package was not installed to the grass package.
> I've installed it now.
> But now i have more errors as the follows after the command "sudo make
> MODULE_TOPDIR=/usr/lib/grass64":
> gcc -I/tmp/buildd/grass-6.4.0~rc4/dist.i486-pc-linux-gnu/include  -Wall -g
> -O       -DPACKAGE=\""grassmods"\"
> -I/tmp/buildd/grass-6.4.0~rc4/dist.i486-pc-linux-gnu/include -o
> OBJ.i486-pc-linux-gnu/algorithm.o -c algorithm.c
> algorithm.c:6:23: Fehler: grass/gis.h: No such file or directory
> algorithm.c:7:27: Fehler: grass/glocale.h: No such file or directory

It doesn't find grass/gis.h etc., hence the errors. At you can see, gcc
searches in /tmp/buildd/grass-6.4.0~rc4/dist.i486-pc-linux-gnu/include but
should search in /usr/lib/grass64/include/. IMHO a Debian/Ubuntu
packaging isse.

What you can do (workaround):

Edit (as sudo):
and fix the wrong path(s) there to /usr/lib/grass64/

Then try again to compile and will hopefully find itself.

I may be wrong, though.


More information about the grass-user mailing list