It seems like using 8.4 would be a lot easier.
If we were staying with TclTk, it would be worth it to solve this
kind of upgrade issue. But if we are switching to wxPython, I'm not
suure that it's worth it.
Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On Jan 29, 2008, at 2:24 PM, Markus Neteler wrote:
On Jan 15, 2008 6:51 PM, Michael Barton <[EMAIL PROTECTED]>
wrote:
Moritz,
In accidental testing, we've discovered that WinGRASS won't run
with TclTk
8.5. It needs 8.4. William Kyngesbury also ran into a problem with
TclTk 8.5
for Mac.
You can fix that by adding the missing headers to
visualization/nviz/src/
example for 8.4.9:
ls *8.4.9*
tkInt8.4.9.h tkIntDecls8.4.9.h
The togl.c contains a set of 'if' + 'elif' to reflect the various
version numbers,
so update that, too. It's pretty straightforward...
Step-by-step:
1. download TK from http://tcl.sourceforge.net
-> File Distributions
-> View All Project Files
-> tk8.4.9-src.tar.gz (example)
extract:
tar xvfz tk8.4.9-src.tar.gz tk8.4.9/generic/tkInt.h
tar xvfz tk8.4.9-src.tar.gz tk8.4.9/generic/tkIntDecls.h
and add here (rename!)
tkInt.h -> tkInt8.x[.y].h (e.g. tkInt8.4.9.h)
tkIntDecls.h -> tkIntDecls8.x[.y].h (e.g. tkIntDecls8.4.9.h)
2. change within tkInt8.x[.y].h the include statement from
tkIntDecls.h
to tkIntDecls8.x[.y].h
3. edit togl.c
add 'elif' statement with new names according to version
of TK
4. complain about these stupid things to Tcl/Tk developers
(cited from README therein).
Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev