CCP4 ftp server: /pub/tcltk/TclTk8.3

If you have problems downloading, installing or using these files then please e-mail ccp4@ccp4.ac.uk.


Available files

This directory contains the following files available for download (see below for notes on installing these):

Unix/Linux:

tcl_tk_blt.tar.gz Source code for the Tcl8.3.2, Tk8.3.2 and BLT2.4u packages, plus a build script build_tcltkblt.sh See the comments below
OSF1_shared_tcltkblt.tar.gz Dynamically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on Digital/Compaq OSF1 V4.0 See the comments below
OSF1_static_tcltkblt.tar.gz Statically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on Digital/Compaq OSF1 V4.0
IRIX64_shared_tcltkblt.tar.gz Dynamically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on IRIX 6.5 n.b. these are 32-bit executables
IRIX64_static_tcltkblt.tar.gz Statically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on IRIX 6.5 n.b. these are 32-bit executables
Linux_shared_tcltkblt.tar.gz Dynamically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on Red Hat Linux 7.2
Linux_static_tcltkblt.tar.gz Statically linked executables and libraries for Tcl8.3.2, Tk8.3.2 and BLT2.4u built on Red Hat Linux 7.2

Windows:

tcl832.exe Self-installing package with Tcl/Tk8.3.2
blt2.4u-for-8.3.exe Self-installing package containg BLT which is compatible with Tcl/Tk8.3.2

Comments
1. See below for information on building the packages from the source code.
2. For Windows at least, the BLT executable should be installed into the same directory as the Tcl/Tk exectutables.
3. NOTE that the blt2.4u/src/shared/Makefile.in has been modified from the official version, to add missing targets which otherwise cause "make install" to fail - see

        http://www.ccp4.ac.uk/ccp4i/install_tcltkblt.html#blt_make_install

Unpacking and installing the files

Building Tcl/Tk/BLT from the source archive tcl_tk_blt.tar.gz

To unpack the source code:

  1. Move the tcl_tk_blt.tar.gz archive to the directory where you wish to unpack and install the source code - for example, /usr/local (or you may wish to create a special directory to put the files in).

  2. Unpack the archive using:

    gzip -dc tcl_tk_blt.tar.gz | tar xvf -

    This will create the following subdirectories in the current directory:
    tcl8.3.2/
    tk8.3.2/
    blt2.4u/
    plus a file README and the script build_tcltkblt.sh.

build_tcltkblt.sh which will try and automatically build the three packages for you. The required steps are:

  1. Edit the script to set the following variables appropriately:

            ROOT = the directory containing this script and the tcl/tk/blt
                   directories
            LOCAL= the place you want to install the packages
    

  2. (Optionally) Set the CC variable if you wish to use a different C compiler to "cc" (for example, gcc).

  3. Execute the command ./build_tcltkblt.sh to start the automatic build.

  4. When the installation is complete, remember to set the CCP4I_TCLTK environment variable in ccp4.setup to point to this directory.

If you have problems then a list of general installation issues for Tcl/Tk/BLT can be found here.

If you wish to build the packages yourself then look at the README and INSTALL files in each subdirectory, and see

        http://www.scriptics.com/doc/howto/compile.html
You should also note that the blt2.4u/src/shared/Makefile.in has been modified from the official version, to add missing targets which otherwise cause make install to fail - see
        http://www.ccp4.ac.uk/ccp4i/install_tcltkblt.html#blt_make_install
for more details of this.

Installing the pre-built Tcl/Tk/BLT binaries

To unpack the binaries:

  1. Move the SYSTEM_TYPE_tcltkblt.tar.gz archive to the directory where you wish to unpack and install the binaries - for example, /usr/local (or you may wish to create a special directory to put the files in).

  2. Unpack the archive using:

    gzip -dc SYSTEM_TYPE_tcltkblt.tar.gz.tar.gz | tar xvf -

    This will create the following subdirectories in the current directory:
    bin/
    include/
    lib/
    man/

  3. When the installation is complete, remember to set the CCP4I_TCLTK environment variable in ccp4.setup to point to this directory.


General Information

The Tcl/Tk distributions were obtained from

        http://www.scriptics.com/software/tcltk/choose.html
At the time of writing Scriptics recommend 8.3.3 as the most recent stable release, however on some platforms I have encountered problems when this version is linked with BLT so Tcl/Tk 8.3.2 is distributed here.

The BLT distribution was obtained from

        http://www.tcltk.com/blt/
At the time of writing 2.4u is the recommended version and is compatible with Tcl/Tk 8.3.