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

Saami Riet cosmicmichi at gmx.de
Sun Aug 23 10:17:09 EDT 2009




On Sun, Aug 23, 2009 at 1:41 PM, Markus Neteler<neteler at osgeo.org> wrote:
> 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
...
> 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.

>I think you got hit by
>http://trac.osgeo.org/grass/ticket/620

> What you can do (workaround):
>... (my other email)
>please let us know if it helps.

>Markus

Thank you
again...
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 -o OBJ.i486-pc-linux-gnu/algorithm.o -c
algorithm.c
gcc: /dist.i486-pc-linux-gnu/include: No such file or directory
gcc: /dist.i486-pc-linux-gnu/include: No such file or directory
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
algorithm.c: In Funktion »acca_first«:
algorithm.c:220: Warnung: Implizite Deklaration der Funktion
»G_allocate_raster_buf«
algorithm.c:220: Fehler: »CELL_TYPE« nicht deklariert (erste Benutzung in
dieser Funktion)
...

Is this a big problem?
Mayby there is a answer for it.
Please help.

Michael



-- 
View this message in context: http://n2.nabble.com/problems-with-compile-i-landsat-acca-add-onn-tp3496808p3498726.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list