[GRASS-user] Re: Installing r.area
LeeDaniel
Lee.Daniel.1986 at gmail.com
Wed Aug 4 06:54:33 EDT 2010
This will never work unless the OpenSuse packager fixes the
> wrong path (.../BUILD/... is wrong and needs to be /opt/...).
>
> Or you do it yourself... AFAIK, it is in your case in
> /opt/grass/include/Make/Platform.make
Alright, I think I understood what to do. I edited
/opt/grass/include/Make/Platform.make (made a backup) and changed these two
lines from:
# 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 = /opt/grass
RUN_GISBASE = /opt/grass/dist.i686-pc-linux-gnu
But this still happens:
Lee at pc19384:~/r.area> make
Makefile:11: ../../include/Make/Module.make: Datei oder Verzeichnis nicht
gefunden
make: *** Keine Regel, um »../../include/Make/Module.make« zu erstellen.
Schluss.
Lee at pc19384:~/r.area> make MODULE_TOPDIR=/opt/grass/
gcc -I/opt/grass/dist.i686-pc-linux-gnu/include -O2
-DPACKAGE=\""grassmods"\" -I/opt/grass/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c:19:23: schwerwiegender Fehler: grass/gis.h: Datei oder Verzeichnis
nicht gefunden
Kompilierung beendet.
make: *** [OBJ.i686-pc-linux-gnu/main.o] Fehler 1
Did I do something wrong?
Thanks a bunch!
Daniel
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Installing-r-area-tp5340139p5372018.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list