Getting and installing tclmake
The current distribution is not packaged terribly well, and requires
things to be done by hand. First, decide where to download the
distribution:
Download one of these files:
- tclmake.tar.gz
- To unpack (on Unix), do:
gzcat tclmake.tar.gz | tar -xf -
- tclmake.zip
- To unpack (Windows or Unix), do:
unzip -a tclmake
Make sure the file
tclmake/bin/tclmake is in your path, by
creating a symbolic link to it or by copying the file into a directory
in the path.
The default tclmake script starts up itclsh.
Although tclmake does not require Itcl to run, I did this in
order to ensure that index files are made properly when processing
Itcl files. If you do not have itclsh, then change the third
line of the script to tclsh or tclsh80 (Windows)
instead.
If you are running under Windows NT, you can:
- Install the cygwin32 user tools, and use bash as
your shell. In that case, the script tclmake will run. (This
somewhat contradicts what I said in the intro page about not having to
install more tools -- however, the user tools includes bash and
stuff like that, without gcc and the other development tools,
and is well worth having!)
- Use MS-DOS as your shell. In that case, copy the botch file
bin/tclmake.bat into a directory in your path and modify it so
that it points to the tclmake script.
In either case, tclsh or tclsh80 must also be in your
path for it to work.