[GRASS5] Win32 - Cygnus compile

Andreas Lange Andreas.Lange at Rhein-Main.de
Thu Nov 23 16:41:12 EST 2000


Howdy,

i can now compile nearly the entire GRASS source under the Cygwin setup.
I had to modify the head-file by hand and to shuffle around a number of
libraries and to make some changes to the code base of the XDRIVER. 
That for the good news.

And now to the bad news:

The X Window output will not work for a number of reasons.

First:
X11R6.4 will not work under Win 9x/ME. There is some old 16bit code in
the windows graphics libraries so that it will not run. I don't think
that it will be possible to run a binary linked against the X11R6.4
libraries with one of the commercial/free X Window Servers (I have the
MicroImages X Server installed). And the previous X11 implementation
only works with the B20 Version of cygwin. 
I didn't manage to get the X Server running under Win NT 4.0 SP5, but i
think i'll manage that later.

Second:
The mon-start program (and maybe other GRASS programs?) depend on
certain file permissions (e. g. fifos 0666), but Windows does not
support that and the cygwin tools simulate the file permissions by
always returning 0644 (?). chmod does nothing. 
I already added some #ifdef __CYGWIN__, but still i get only stack
dumps. 

The rest of the modules work as far as i can see. 
But there are a lot of problems in detail:
e. g. the shell does not work correctly when grass is started, no
history keys, no backspace, direction keys etc.
Programs using system(more) will only work if a link from less to more
is made. 

I expect some other shell related problems. But the main problem remains
that there is no graphical output and no tcltkgrass. 

cu,

Andreas

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net



---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list