<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Markus Neteler a écrit :
<blockquote
cite="mid:86782b610904110532ka1b5658u8c364e0edbaf1528@mail.gmail.com"
type="cite">
<pre wrap="">2009/4/11 Patrick Giraudoux <a class="moz-txt-link-rfc2396E" href="mailto:patrick.giraudoux@univ-fcomte.fr"><patrick.giraudoux@univ-fcomte.fr></a>:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
Excellent. First step taken.
</pre>
<blockquote type="cite">
<pre wrap="">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...
</pre>
</blockquote>
<pre wrap=""><!---->
If you didn't change the --prefix in configure, then it is in
/usr/local/lib/grass64
</pre>
<blockquote type="cite">
<pre wrap="">locate grass64 leads nowhere (cannot find it)
</pre>
</blockquote>
<pre wrap=""><!---->
Unless the "updatedb" cronjob isn't run, locate is not yet up to date.
</pre>
<blockquote type="cite">
<pre wrap="">In brief, I cannot find out where the operating file architecture of grass64
has been installed !!!
</pre>
</blockquote>
<pre wrap=""><!---->
The default is /usr/local/
Hope this helps,
Markus
</pre>
</blockquote>
<br>
Great. Really sorry to disturb you and the list with troubles obviously
coming from my incomplete knowledge about Ubuntu basics !!!<br>
<br>
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/<br>
<br>
With <br>
<br>
make MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/ <br>
<br>
it does much more than before, but still incomplete (see messages
below). <br>
<br>
As a result the command i.landsat.acca is still not recognized within
grass64 (aaaargh):<br>
<br>
GRASS 6.4.0RC3 (FrancheComteLIIe_MF):~ > i.landsat.acca<br>
bash: i.landsat.acca : commande introuvable<br>
<br>
### command and result of make MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/<br>
<br>
pgiraudo@pgiraudo-laptop:~/GrassAddon$ make
MODULE_TOPDIR=/usr/local/grass-6.4.0RC3/<br>
<br>
test -d OBJ.i686-pc-linux-gnu || mkdir -p OBJ.i686-pc-linux-gnu<br>
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<br>
algorithm.c: Dans la fonction «acca_second» :<br>
algorithm.c:404: attention : parenthèses suggérées autour de &&
à l'intérieur de ||<br>
algorithm.c:422: attention : parenthèses suggérées autour de &&
à l'intérieur de ||<br>
algorithm.c:353: attention : unused variable «i»<br>
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<br>
main.c: Dans la fonction «main» :<br>
main.c:98: attention : unused variable «p»<br>
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<br>
tools.c: Dans la fonction «mean» :<br>
tools.c:43: attention : unused variable «value»<br>
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 <br>
make htmlcmd<br>
make[1]: entrant dans le répertoire « /home/pgiraudo/GrassAddon »<br>
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<br>
make[2]: entrant dans le répertoire « /home/pgiraudo/GrassAddon »<br>
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<br>
/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<br>
/bin/sh: /usr/local/grass-6.4.0RC3//tools/mkhtml.sh: not found<br>
make[2]: quittant le répertoire « /home/pgiraudo/GrassAddon »<br>
make[1]: quittant le répertoire « /home/pgiraudo/GrassAddon »<br>
pgiraudo@pgiraudo-laptop:~/GrassAddon$ <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>