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

Markus Neteler neteler at osgeo.org
Thu Oct 30 12:42:47 EDT 2008


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


More information about the grass-user mailing list