[GRASS-user] i.landsat.acca addon installing
Patrick Giraudoux
patrick.giraudoux at univ-fcomte.fr
Sat Apr 11 06:00:32 EDT 2009
Markus Neteler a écrit :
> Patrick,
>
> ha - I found it :)
>
> 2009/4/11 Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr>:
> ...
>
>> make MODULE_TOPDIR=/usr/lib/grass640/
>>
>> I am working under Ubuntu hardy, with a precompiled version of GRASS 6.3.0.
>>
>
> See the difference? Obviously you need to use
>
> make MODULE_TOPDIR=/usr/lib/grass630/
>
> Then it may work. Essentially, define the right path :)
>
> Markus
>
>
Unfortunalety not... I have a path which is
/usr/lib/grass, with include/ and all the necessary files in it, but no path usr/lib/grass630. Actually when make MODULE_TOPDIR=/usr/lib/grass630 (the path does not exist on my computer) is launched it seems to find nothing and get lost...
> make MODULE_TOPDIR=/usr/lib/grass630/
> Makefile:8: /usr/lib/grass630//include/Make/Module.make: Aucun fichier ou dossier de ce type
> make: *** Pas de règle pour fabriquer la cible « /usr/lib/grass630//include/Make/Module.make ». Arrêt.
But when the command is make MODULE_TOPDIR=/usr/lib/grass/ (which does exist), it finds something somewhere but screw up when looking for grass/gis.h or grass/glocale.h (which do exist in include/grass/)
> pgiraudo at pgiraudo-laptop:~/GrassAddon$ make MODULE_TOPDIR=/usr/lib/grass/
> gcc -I/home/jachym/src/grass/grass-6.3.0/dist.i486-pc-linux-gnu/include -Wall -g -D_FILE_OFFSET_BITS=64 -O2 -DPACKAGE=\""grassmods"\" -I/home/jachym/src/grass/grass-6.3.0/dist.i486-pc-linux-gnu/include -o OBJ.i486-pc-linux-gnu/algorithm.o -c algorithm.c
> algorithm.c:6:23: erreur: grass/gis.h : Aucun fichier ou dossier de ce type
> algorithm.c:7:27: erreur: grass/glocale.h : Aucun fichier ou dossier de ce type
> algorithm.c: Dans la fonction «acca_first» :
> algorithm.c:220: attention : déclaration implicite de la fonction « «G_allocate_raster_buf» »
Really looks like if this was a matter of path indeed, but the bug comes from the files read after make
MODULE_TOPDIR=/usr/lib/grass/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090411/1dd6ee9b/attachment.html
More information about the grass-user
mailing list