Developing Tcl with Batteries Included

It's useful to be able to make a checkout of the current Tcl sources with their “standard batteries” included. Here's how to do that.

See Also

TIP 386

Clone the Repositories

in your home directory…

fossil clone http://core.tcl.tk/tcl/ tcl.fossil
fossil clone http://core.tcl.tk/itcl/ itcl.fossil
fossil clone http://core.tcl.tk/tclconfig/ tclconfig.fossil
fossil clone http://core.tcl.tk/thread/ thread.fossil

or with user name and password:

% fossil clone https://username:[email protected]/tcl tcl.fossil

Construct the Checkout

Instructions for Unix (assuming you develop in ~/tcl)

mkdir ~/tcl
cd ~/tcl
fossil open ~/tcl.fossil trunk
# mv _FOSSIL_ .fos
cd pkgs
mkdir itcl
mkdir thread
cd itcl
fossil open --nested ~/itcl.fossil trunk
# mv _FOSSIL_ .fos
mkdir tclconfig
cd tclconfig
fossil open --nested ~/tclconfig.fossil trunk
# mv _FOSSIL_ .fos
cd ../../thread
fossil open --nested ~/thread.fossil trunk
# mv _FOSSIL_ .fos
mkdir tclconfig
cd tclconfig
fossil open --nested ~/tclconfig.fossil trunk
# mv _FOSSIL_ .fos

(current fossil no longer creates _FOSSIL_)

Build the Checkout

Assuming you want your build in /tmp/tcl8.6; adjust to taste…

cd ~/tcl/unix
`pwd`/configure --prefix=/tmp/tcl8.6
make

Then run the tests...

make test

And install so you can try running real code

make install
/tmp/tcl8.6/bin/tclsh8.6

Change password on core.tcl.tk

HaO,AK 2012-12-12 18:05:59: When you are logged in the 'Log out' link will move you to a page where you can not only logout, or re-login, but also change your password.