<div>Thanks Markus,</div>
<div> </div>
<div>I have not been compiling GRASS from scratch (I have been using the binaries). So I havent been running ./configure GRASS.</div>
<div> </div>
<div>If i install the binary how can i run ./configure grass? </div>
<div> </div>
<div>In the end i compiled the addons using the following (and linked some of the librarys to the correct place - Not sure what SUSE is doing with some of these).</div>
<div> </div>
<div>make MODULE_TOPDIR=/opt/grass CPPFLAGS='-I/opt/grass/include' LDFLAGS='-L/opt/grass/lib -L/lib -L/usr/lib'<br> </div>
<div>Historically I have compiled grass, but moving to a 64bit installation I have found it too hard to track all the dependancies and have relied on binary packages.</div>
<div> </div>
<div>cheers</div>
<div> </div>
<div>Andy</div>
<div><br> </div>
<div><span class="gmail_quote">On 10/31/08, <b class="gmail_sendername">Markus Neteler</b> <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, Oct 21, 2008 at 11:54 PM, andrew haywood <<a href="mailto:ahaywood3@gmail.com">ahaywood3@gmail.com</a>> wrote:<br>
> Dear List,<br>><br>> Im running grass 6.3 on suse 10.2. I have installed the latest version from<br>> the geo repository.<br>> I am now having problems trying to install i.landsat.toar<br>> I have checked out the most recent version of grass addons.<br>
><br>> Im getting the following error.<br>> I am a complete novice when it comes to make.<br>> The gis.h file is in /opt/grass/include/grass and somehow make isnt finding<br>> it.<br>> Any help would be greatly appreciated.<br>
><br>> regards<br>> Andy<br>><br>><br>> make MODULE_TOPDIR=/opt/grass<br>> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p<br>> OBJ.x86_64-unknown-linux-gnu<br>> gcc<br>> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include<br>
> -O2 -DPACKAGE=\""grassmods"\"<br>> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include<br>> -o OBJ.x86_64-unknown-linux-gnu/earth_sun.o -c earth_sun.c<br>> gcc<br>
> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include<br>> -O2 -DPACKAGE=\""grassmods"\"<br>> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include<br>
> -o OBJ.x86_64-unknown-linux-gnu/landsat.o -c landsat.c<br>> landsat.c:4:23: error: grass/gis.h: No such file or directory<br>> make: *** [OBJ.x86_64-unknown-linux-gnu/landsat.o] Error 1<br><br><br>did you<br>./configure<br>
GRASS?<br><br>Markus<br></blockquote></div><br>