[GRASS-user] i.pr compile problem

Markus Neteler neteler at itc.it
Thu May 31 19:52:50 EDT 2007


Hi Martin,

i.pr is now in the GRASS Addons SVN. Please submit your fixes there.

To compile, the easiest is to put it into GRASS under imagery/, otherwise
you would have to change all paths in all i.pr Makefiles (MODULE_TOPDIR =
XXX)

Markus


Martin Wegmann wrote:
> 
> 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: 
> 
> [...]
> ...
> `/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
> 

-- 
View this message in context: http://www.nabble.com/i.pr-compile-problem-tf3841479.html#a10904248
Sent from the Grass - Users mailing list archive at Nabble.com.





More information about the grass-user mailing list