FW: [GRASS-dev] wingrass binaries available [was: Re: [winGRASS] Updating CVS]

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Apr 10 05:33:51 EDT 2007


Hello Moritz

On Tue, 10 Apr 2007, Moritz Lennert wrote:

> On 03/04/07 20:49, Michael Barton wrote:
>> Moritz,
>> 
>> This site has been unavailable since I got your message last night. Perhaps
>> because of undue popularity??
>
> ;-)
>
> No, the problem was that I had left on vacation, but we had a power cut at 
> the office, so my machine was left shut off.
>
> Now it is available again.
>
> I would really appreciate someone testing these and tell me whether I did 
> things correctly and they work...

Sorry still have not had time yet...

> Two things I probably need to add:
>
> - We do need a shell for some commands, so I think that at this stage msys is 
> a requirement. (Paul ?)

Yes, although there is a *lot* you can do without using shell scripts, and 
a shell is not needed for any of the GRASS start-up or module-running 
infrastructure any more, only for modules that actually are shell scripts. 
Also we need to investigate the possibility of using non-Msys shells (e.g. 
the one that comes with Windows services for Unix???) and the fact that 
Msys still needs the path set to find its utilities and things like that. 
A way to go on this one.

P.S. attached are a couple of patches to the current CVS to fix 
compilation of libraster and r.mapcalc on Windows. I don't have convenient 
CVS access right now to apply them...

Paul
-------------- next part --------------
Index: lib/raster/com_io.c
===================================================================
RCS file: /home/grass/grassrepository/grass6/lib/raster/com_io.c,v
retrieving revision 2.15
diff -u -r2.15 com_io.c
--- lib/raster/com_io.c	7 Apr 2007 10:15:02 -0000	2.15
+++ lib/raster/com_io.c	10 Apr 2007 09:28:15 -0000
@@ -144,7 +144,7 @@
 
 #ifndef HAVE_SOCKET
 	return &loc_trans;
-#endif
+#else
 
 	if (!p)
 		return &rem_trans;
@@ -164,6 +164,7 @@
 	G_warning("Unrecognised GRASS_RENDER_IMMEDIATE setting: %s", p);
 
 	return &rem_trans;
+#endif
 }
 
 static void init_transport(void)
Index: raster/r.mapcalc/evaluate.c
===================================================================
RCS file: /home/grass/grassrepository/grass6/raster/r.mapcalc/evaluate.c,v
retrieving revision 2.4
diff -u -r2.4 evaluate.c
--- raster/r.mapcalc/evaluate.c	3 Apr 2007 02:48:33 -0000	2.4
+++ raster/r.mapcalc/evaluate.c	10 Apr 2007 09:28:15 -0000
@@ -231,7 +231,7 @@
 #if defined(HAVE_DRAND48)
 	srand48(seed_value);
 #else
-	srand((unsigned int) seed_value)
+	srand((unsigned int) seed_value);
 #endif
 }
 


More information about the grass-dev mailing list