[GRASS-user] newbie: problems with i.landsat.toar grass addon using suse 10.2 and grass 6.3

andrew haywood ahaywood3 at gmail.com
Thu Oct 30 18:14:50 EDT 2008


Thanks Markus,

I have not been compiling GRASS from scratch (I have been using the
binaries). So I havent been running ./configure GRASS.

If i install the binary how can i run ./configure grass?

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).

make MODULE_TOPDIR=/opt/grass CPPFLAGS='-I/opt/grass/include'
LDFLAGS='-L/opt/grass/lib -L/lib -L/usr/lib'

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.

cheers

Andy


On 10/31/08, Markus Neteler <neteler at osgeo.org> wrote:
>
> On Tue, Oct 21, 2008 at 11:54 PM, andrew haywood <ahaywood3 at gmail.com>
> wrote:
> > Dear List,
> >
> > Im running grass 6.3 on suse 10.2. I have installed the latest version
> from
> > the geo repository.
> > I am now having problems trying to install i.landsat.toar
> > I have checked out the most recent version of grass addons.
> >
> > Im getting the following error.
> > I am a complete novice when it comes to make.
> > The gis.h file is in /opt/grass/include/grass and somehow make isnt
> finding
> > it.
> > Any help would be greatly appreciated.
> >
> > regards
> > Andy
> >
> >
> > make MODULE_TOPDIR=/opt/grass
> > test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p
> > OBJ.x86_64-unknown-linux-gnu
> > gcc
> >
> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include
> > -O2       -DPACKAGE=\""grassmods"\"
> >
> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include
> > -o OBJ.x86_64-unknown-linux-gnu/earth_sun.o -c earth_sun.c
> > gcc
> >
> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include
> > -O2       -DPACKAGE=\""grassmods"\"
> >
> -I/usr/src/packages/BUILD/grass-6.3.0/dist.x86_64-unknown-linux-gnu/include
> > -o OBJ.x86_64-unknown-linux-gnu/landsat.o -c landsat.c
> > landsat.c:4:23: error: grass/gis.h: No such file or directory
> > make: *** [OBJ.x86_64-unknown-linux-gnu/landsat.o] Error 1
>
>
> did you
> ./configure
> GRASS?
>
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20081031/125e7266/attachment.html


More information about the grass-user mailing list