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@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
Perfect!
thanks
Marco
Da: grass-dev-bounces@lists.osgeo.org per conto di benjamin.ducke@ufg.uni-kiel.de
Inviato: lun 03/03/2008 11.42
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS & Tcl/Tk
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@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
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev