Installation of the (source) Tcl/Tk versions 1. Download the files. 2. Create a directory (let's say 'pathname/PEP_tcl') in which you would like to install the Tcl/Tk versions. 3. Put the files in this directory. 4. Uncompress them with 'gzip -d PEP_t*.tar.gz', obtaining the file 'PEP_t*.tar'. 5. Untar these file with 'tar -xvf PEP_t*.tar'; two directories 'tcl7.6' and 'tk4.2' with several subdirectories are created (make sure no files or directories with one of these names are present before executing this step). Note: If you have GNU tar (for instance, as 'gtar') you may combine steps 4 and 5 by typing 'gtar -xvzf PEP_t*.tar.gz'. 6. Change directory to 'tcl7.6/unix'. 7. If you want to use gcc you have to set the environment variables CC and CPP (we recommend this): For c-shell: setenv CC gcc setenv CPP 'gcc -E' 8. Execute './configure --prefix pathname/PEP_tcl'. 9. Execute 'make'. 10. Execute 'make install'. 11. We recommend to change the directories pathname/PEP_tcl/bin, pathname/PEP_tcl/include and pathname/PEP_tcl/lib that they look as follows (using `mv' and `ln -s', for instance, by `mv tcl.h tcl7.6.h' and `ln -s tcl7.6.h tcl.h'): bin: tclsh -> tclsh7.6 tclsh7.6 include: tcl.h -> tcl7.6.h tcl7.6.h lib: libtcl.a -> libtcl7.6.a libtcl7.6.a tcl -> tcl7.6 tcl7.6 tclConfig.sh -> tclConfig7.6.sh tclConfig7.6.sh 12. Change directory to 'pathname/PEP_tcl/tk4.2/unix'. 13. Execute './configure --prefix pathname/PEP_tcl'. 14. Execute 'make'. 15. Execute 'make install'. 16. We recommend to change the directories pathname/PEP_tcl/bin, pathname/PEP_tcl/include and pathname/PEP_tcl/lib that they now look as follows (using `mv' and `ln -s', note that you already made some of these changes): bin: tclsh -> tclsh7.6 tclsh7.6 wish -> wish4.2 wish4.2 include: tcl.h -> tcl7.6.h tcl7.6.h tk.h -> tk4.2.h tk4.2.h lib: libtcl.a -> libtcl7.6.a libtcl7.6.a libtk.a -> libtk4.2.a libtk4.2.a tcl -> tcl7.6 tcl7.6 tclConfig.sh -> tclConfig7.6.sh tclConfig7.6.sh tk -> tk4.2 tk4.2 tkConfig.sh -> tkConfig4.2.sh tkConfig4.2.sh Now you should have installed the correct versions of Tcl and Tk. You have to set some environment variables to ensure that these versions are used: If you use 'csh' you can include the following lines in your '.cshrc' file: set path = (pathname/PEP_tcl/bin $path) setenv TCL_LIBRARY pathname/PEP_tcl/lib/tcl7.6 setenv TK_LIBRARY pathname/PEP_tcl/lib/tk4.2 and for Solaris you should also set: setenv LD_LIBRARY_PATH pathname/PEP_tcl/lib:${LD_LIBRARY_PATH} Now, you can check the version numbers if you invoke a wish typing 'wish' at the command line by use of the following two commands (the correct output is given below): puts $tcl_patchLevel 7.6p2 puts $tk_patchLevel 4.2p2 In case of doubt, please ask your system administrator. Please communicate any problem you experience to: 'pep_help@informatik.uni-oldenburg.de'.