[GRASS-user] i.pr compile problem
Martin Wegmann
wegmann at biozentrum.uni-wuerzburg.de
Wed May 30 12:30:07 EDT 2007
Hello,
as Markus pointed out in the bug/wish tracker, i.pr is capable of doing tree
classification, however I fail compiling it:
so far I modified all make files to:
e.g. i.pr_blob:
MODULE_TOPDIR = ../..
PRINCLUDE = ../include/
EXTRA_CFLAGS = -I$(PRINCLUDE)
PRLIB = -lgrass_pr
PGM = i.pr_blob
LIBES = $(SITESLIB) $(PRLIB) $(IMAGERYLIB) $(D_LIB) $(DISPLAYLIB)
$(RASTERLIB) $(GISLIB) $(DATETIMELIB)
DEPENDENCIES= $(SITESDEP) $(PRDEP) $(IMAGERYDEP) $(D_DEP) $(DISPLAYDEP)
$(RASTERDEP) $(GISDEP) $(DATETIMEDEP)
include $(MODULE_TOPDIR)/include/Make/Module.make
default: cmd
(now it is more or less the same as in i.cluster)
but when doing make I get:
[...]
i.pr_uxb
make[1]: Entering directory
`/home/wegmann/software/grass/grass6/imagery/i.pr/i.pr_uxb'
Makefile:13: ../../include/Make/Module.make: Datei oder Verzeichnis nicht
gefunden (No folder or file found)
make[1]: *** Keine Regel, um »../../include/Make/Module.make« zu erstellen.
Schluss. (No rule to create ... End.)
make[1]: Leaving directory
`/home/wegmann/software/grass/grass6/imagery/i.pr/i.pr_uxb'
i.pr_sites_aggregate
make[1]: Entering directory
`/home/wegmann/software/grass/grass6/imagery/i.pr/i.pr_sites_aggregate'
Makefile:13: ../../include/Make/Module.make: Datei oder Verzeichnis nicht
gefunden (Did not find file or folder)
make[1]: *** Keine Regel, um »../../include/Make/Module.make« zu erstellen.
Schluss. (No rule found to create ... END)
make[1]: Leaving directory
`/home/wegmann/software/grass/grass6/imagery/i.pr/i.pr_sites_aggregate'
So far is seems to me that ../../include/Make/Module.make is the problem, but
I compared it to other i.* commands and for me they look the same. Might it
be, that i.pr consists of subfolders?
any idea which file I have to change?
TIA, Martin
More information about the grass-user
mailing list