[GRASS-user] i.landsat.acca addon installing

Patrick Giraudoux patrick.giraudoux at univ-fcomte.fr
Sat Apr 11 09:33:43 EDT 2009


Markus Neteler a écrit :
> 2009/4/11 Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr>:
>   
>> I have just moved to installing grass-6.4.0RC3
>>
>> 1/ creating a folder grass643 in my home directory
>> 2/ downloading and decompressing grass-6.4.0RC3.tar.gz
>> 3/ from within ~/grass643/grass-6.4.0RC/
>>   ./configure (and getting things finally OK)
>>   make
>>   make install
>> 4/ and then the nightmare: the call
>>    grass64
>> starts and works well as expected
>>     
>
> Excellent. First step taken.
>
>   
>> BUT I cannot find any path on my computer leading to /usr/lib/grass64 or
>> something else of this kind, neither a path /usr/lib/grass64/etc/Init.sh
>> where I can parametrized some variables, etc...
>>     
>
> If you didn't change the --prefix in configure, then it is in
> /usr/local/lib/grass64
>
>   
>> locate grass64 leads nowhere (cannot find it)
>>     
>
> Unless the "updatedb" cronjob isn't run, locate is not yet up to date.
>
>   
>> In brief, I cannot find out where the operating file architecture of grass64
>> has been installed !!!
>>     
>
> The default is /usr/local/
>
> Hope this helps,
> Markus
>
>   

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$











-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090411/676e81a7/attachment-0001.html


More information about the grass-user mailing list