[GRASS-dev] WinGRASS needs TclTk 8.4
Michael Barton
michael.barton at asu.edu
Tue Jan 29 20:21:57 EST 2008
Actually I tried that and it still didn't work, though maybe for
other reasons.
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 3:44 PM, Gerald Nelson wrote:
> I see that I am not the only one to not RTFM, which says to just
> use 8.4. I
> did the same thing, but found that if you make a copy of wish85.exe
> and
> rename it to just wish.exe everything seems to work fine.
>
> Now, if someone could tell me what is going on with my wxpython
> problem ;-)
>
> Jerry
>
> -----Original Message-----
> From: grass-dev-bounces at lists.osgeo.org
> [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Markus Neteler
> Sent: Tuesday, January 29, 2008 3:24 PM
> To: Michael Barton
> Cc: GRASS developers list
> Subject: Re: [GRASS-dev] WinGRASS needs TclTk 8.4
>
> On Jan 15, 2008 6:51 PM, Michael Barton <michael.barton at asu.edu>
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
More information about the grass-dev
mailing list