Re: [GRASS-user] WinGRASS-6.3.0RC5 Self Installer + wxPython-Gui

Helmut Kudrnovsky wrote:

GRASS GIS compilation log
-------------------------
Started compilation: Mon Mar 17 22:33:14 GMT 2008
--
Errors in:
/local/src/grasssvntrunk/imagery/i.class
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2image
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2target
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.rectify
/local/src/grasssvntrunk/imagery/i.points
/local/src/grasssvntrunk/imagery/i.vpoints
/local/src/grasssvntrunk/raster/r.li/[...]



as i.points et al. will never work without interactive X monitors, how
about the attached patch?

I do not know the correct thing to test for. I saw MINGW in Platform.make
and used that, but would it be better to test if USE_X11 != 1 ?


Presumably the r.li errors could be fixed to work on Windows, like
r.terraflow has, so leave them complaining.


Hamish
Index: imagery/Makefile
===================================================================
--- imagery/Makefile	(revision 30609)
+++ imagery/Makefile	(working copy)
@@ -3,7 +3,6 @@
 SUBDIRS1 = \
 	i.ask \
 	i.atcorr \
-	i.class \
 	i.cluster \
 	i.find \
 	i.gensig \
@@ -11,13 +10,10 @@
 	i.group \
 	i.his.rgb \
 	i.maxlik \
-	i.ortho.photo \
-	i.points \
 	i.rectify \
 	i.rgb.his \
 	i.smap \
 	i.target \
-	i.vpoints \
 	i.pca \
 	i.cca
 
@@ -25,14 +21,17 @@
 
 FFTWBASED = i.fft i.ifft i.zc
 
+XMONBASED = i.class i.ortho.photo i.points i.vpoints
+
 #compile if FFTW present:
 ifneq ($(strip $(FFTWLIB)),)
-    SUBDIRS2 = $(SUBDIRS1) $(FFTWBASED)
-else
-    SUBDIRS2 = $(SUBDIRS1)
+    SUBDIRS += $(FFTWBASED)
 endif
 
-SUBDIRS = $(SUBDIRS2)
+#compile if interactive Xmons are present:
+ifneq ($(MINGW),)
+    SUBDIRS += $(XMONBASED)
+endif
 
 PGM = imageryintro
 
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to