[GRASS-user] i.landsat.acca addon installing
Markus Neteler
neteler at osgeo.org
Sat Apr 11 14:40:58 EDT 2009
Indeed, you have the binary:
/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin/i.landsat.acca
for now, just copy it into
/usr/local/grass-6.4.0RC3/bin/
and it should work.
I have proposed a new "make install" Makefile target in the grass-dev
list which would be ideal for simplifying the installation.
Markus
2009/4/11 Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr>:
> 2009/4/11 Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr>:
...
> Great. Really sorry to disturb you and the list with troubles obviously
> coming from my incomplete knowledge about Ubuntu basics !!!
>
> We have got a step further indeed. The directories grass and Make are in
> /usr/local/grass-6.4.0RC3/include/ and nothing corresponding is in
> /usr/local/grass-6.4.0RC3/lib/
>
> With
>
> make MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/
>
> it does much more than before, but still incomplete (see messages below).
>
> As a result the command i.landsat.acca is still not recognized within
> grass64 (aaaargh):
>
> GRASS 6.4.0RC3 (FrancheComteLIIe_MF):~ > i.landsat.acca
> bash: i.landsat.acca : commande introuvable
>
> ### command and result of make MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/
>
> pgiraudo at pgiraudo-laptop:~/GrassAddon$ make
> MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/
>
> test -d OBJ.i686-pc-linux-gnu || mkdir -p OBJ.i686-pc-linux-gnu
> gcc -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include
> -g -Wall -DPACKAGE=\""grassmods"\"
> -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/algorithm.o -c algorithm.c
> algorithm.c: Dans la fonction «acca_second» :
> algorithm.c:404: attention : parenthèses suggérées autour de && à
> l'intérieur de ||
> algorithm.c:422: attention : parenthèses suggérées autour de && à
> l'intérieur de ||
> algorithm.c:353: attention : unused variable «i»
> gcc -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include
> -g -Wall -DPACKAGE=\""grassmods"\"
> -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/main.o -c main.c
> main.c: Dans la fonction «main» :
> main.c:98: attention : unused variable «p»
> gcc -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include
> -g -Wall -DPACKAGE=\""grassmods"\"
> -I/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/tools.o -c tools.c
> tools.c: Dans la fonction «mean» :
> tools.c:43: attention : unused variable «value»
> gcc -L/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/lib
> -Wl,--export-dynamic
> -Wl,-rpath-link,/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/lib
> -o
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin/i.landsat.acca
> OBJ.i686-pc-linux-gnu/algorithm.o OBJ.i686-pc-linux-gnu/main.o
> OBJ.i686-pc-linux-gnu/tools.o -lgrass_gis -lgrass_datetime -lz -lm -lz
> make htmlcmd
> make[1]: entrant dans le répertoire « /home/pgiraudo/GrassAddon »
> make
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/docs/html/i.landsat.acca.html
> HTMLSRC=/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin/i.landsat.acca
> make[2]: entrant dans le répertoire « /home/pgiraudo/GrassAddon »
> if [
> "/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin/i.landsat.acca"
> != "" ] ; then
> GISRC=/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/demolocation/.grassrc64
> GISBASE=/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu
> PATH="/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin:$PATH"
> LD_LIBRARY_PATH="/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin:/home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/lib:"
> LC_ALL=C
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/bin/i.landsat.acca
> --html-description < /dev/null | grep -v '</body>\|</html>' >
> i.landsat.acca.tmp.html ; true ; fi
> /usr/local/grass-6.4.0RC3//tools/mkhtml.sh i.landsat.acca ; mkdir -p
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/docs/html ;
> /usr/bin/install -c -m 644 i.landsat.acca.tmp.html
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/docs/html/i.landsat.acca.html
> ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ;
> if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file
> /home/pgiraudo/grass643/grass-6.4.0RC3/dist.i686-pc-linux-gnu/docs/html ; fi
> done 2> /dev/null ; true
> /bin/sh: /usr/local/grass-6.4.0RC3//tools/mkhtml.sh: not found
> make[2]: quittant le répertoire « /home/pgiraudo/GrassAddon »
> make[1]: quittant le répertoire « /home/pgiraudo/GrassAddon »
> pgiraudo at pgiraudo-laptop:~/GrassAddon$
>
>
>
>
>
>
>
>
>
>
>
>
More information about the grass-user
mailing list