[GRASS-user] Re: Installing r.area

LeeDaniel Lee.Daniel.1986 at gmail.com
Thu Aug 5 05:28:12 EDT 2010


Okay, I changed my Platform.make file from the original file
# GRASS dirs
GRASS_HOME          = /usr/src/packages/BUILD/grass-6.4.0RC6
RUN_GISBASE         =
/usr/src/packages/BUILD/grass-6.4.0RC6/dist.i686-pc-linux-gnu
to
# GRASS dirs
# GRASS_HOME          = /usr/src/packages/BUILD/grass-6.4.0RC6
RUN_GISBASE         = /opt/grass

Then I navigated into the folder with r.area and did the following:
Lee at pc19384:~/r.area> export LC_ALL=C
Lee at pc19384:~/r.area> sudo make MODULE_TOPDIR=/opt/grass/
root's password:
gcc -I/dist.i686-pc-linux-gnu/include  -O2       -DPACKAGE=\""grassmods"\" 
-I/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c:19:23: fatal error: grass/gis.h: No such file or directory
compilation terminated.
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1

Still no better. I think it might be smarter just to uninstall GRASS
completely and compile it from source, but I run into trouble when I do that
too...

Best,
Daniel
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Installing-r-area-tp5340139p5375851.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list