<!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:86782b610904110221i1ea822cck52adf5180308dde6@mail.gmail.com"
type="cite">
<pre wrap="">Patrick,
ha - I found it :)
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="">make MODULE_TOPDIR=/usr/lib/grass640/
I am working under Ubuntu hardy, with a precompiled version of GRASS 6.3.0.
</pre>
</blockquote>
<pre wrap=""><!---->
See the difference? Obviously you need to use
make MODULE_TOPDIR=/usr/lib/grass630/
Then it may work. Essentially, define the right path :)
Markus
</pre>
</blockquote>
Unfortunalety not... I have a path which is <br>
<pre wrap="">/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...
<blockquote type="cite"><pre wrap="">
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.</pre></blockquote>
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/)
<blockquote type="cite"><pre wrap="">pgiraudo@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» »</pre></blockquote>
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/
</pre>
<br>
</body>
</html>