[GRASS-dev] WinGRASS & Tcl/Tk

benjamin.ducke at ufg.uni-kiel.de benjamin.ducke at ufg.uni-kiel.de
Mon Mar 3 05:42:07 EST 2008


Tcl is the programming language, Tk provides the graphical user
interface on top of that. So you need both:

Compile and install Tcl (using MSYS):

tar -xzvf tcl8.5.1-src.tar.gz
cd tcl8.5.1/win
./configure --prefix=/usr/local
make
make install

cp /usr/local/bin/tclsh85.exe /usr/local/bin/tclsh.exe


Install the Tk GUI widgets:

tar -xzvf tk8.5.1-src.tar.gz
cd tk8.5.1/win
./configure --prefix=/usr/local
make
make install

cp /usr/local/bin/wish84.exe /usr/local/bin/wish.exe


Hope this helps.

Good luck,

Benjamin


marco.pasetti at alice.it wrote:
> Hi,
>
> I'm again on Tcl/Tk issue for Windows;
> Paul Kelly tells that he tested latest 8.5 release finding it working,
> so I'm going to compile that release!
> But here's another question, I never faced the problem of compile Tcl
> (always used precompiled binaries), and on the web site I found two
> sources, Tcl and Tk; what to do? Compile both? same or different prefix?
>
> Thanks
>
> Marco



More information about the grass-dev mailing list