[GRASS-dev] A portible shell for GRASS 7+ ?
michael.barton at asu.edu
Fri Jun 9 18:54:03 EDT 2006
Although this sounds grim, it actually may not be as bad as it seems. Most
are x11 issues, and many have new TclTk equivalents. See below.
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Fri, 9 Jun 2006 21:28:22 +0100
> To: Michael Barton <michael.barton at asu.edu>
> Cc: "Laurent C." <lrntct at gmail.com>, Wolfgang Zillig <wollez at gmx.net>,
> grass-devel <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] A portible shell for GRASS 7+ ?
> Michael Barton wrote:
>> If someone could compile the existing Windows native code with the d.modules
>> and gis.m intact, and start it up using native Windows wish it should run
>> theoretically. But I don¹t know how to do this and so can¹t test it. It
>> would be good to know if our efforts in this direction are helpful, though.
> I can get most of GRASS to compile on Windows without Cygwin (this
> relies upon the not-yet-committed changes to libraster to allow
> driver-less rendering).
> However, there appear to be some fundamental problems with the MSVC
> run-time, e.g. fseek() doesn't work on files opened for update
> ("wb+"), so I wouldn't expect it to run.
> FWIW, the portions which fail to compile are:
> Both due to fseek() issues.
These may be the most problematic
> Undefined reference to sleep()
Neither needed for most GIS work.
d.colors requires x11 anyway and would not run without Cygwin
> Undefined reference to ttyname()
Don't know what this might do
> Undefined reference to gettimeofday()
Requires x11 and wouldn't run anyway without Cygwin
> Missing <sys/wait.h>
i.points and v.points require x11 and replaced by TclTk georectifier. Have
to do without i.ortho.photo, but this is a specialized application.
> Undefined SIGTSTP
It would be nice if this worked.
i.rectify needs to work for the georectifier, but doesn't need to run in x11
> Both define a symbol "compress" which conflicts with zlib.
> Attempting to use ln/mv on files which don't exist (need to add the
> .exe suffix).
d.paint.lables/d.labels replaced by TclTk equivalent in gis.m. Didn't work
right in TclTk canvas anyway (at least on Mac)
r.support would be nice but not critical
> This is with only mandatory external dependencies; no Tcl/Tk, PNG,
> TIFF, OpenGL etc.
> Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev