%general-entities; ]> $LastChangedBy$ $Date$ tk&tk-version;-src.tar tk Tk-&tk-version; Tk Introduction to Tk The Tk package contains a TCL GUI Toolkit. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &tk-md5sum; Download size: &tk-size; Estimated disk space required: &tk-buildsize; Estimated build time: &tk-time; Tk Dependencies Required and User Notes: Installation of Tk Install Tk by running the following commands: cd unix && ./configure --prefix=/usr --enable-threads && make && sed -i -e "s:${PWD}:/usr/lib:" \ -e "s:$(dirname ${PWD}):/usr/include/tk&tk-ver;:" \ tkConfig.sh Running the tests is not recommended. Some tests may crash your X Server. To test the results anyway, issue: make test. Ensure you run it from an X Window display device with the GLX extensions loaded, else the tests will hang. Now, as the root user: make install && install -v -m755 -d /usr/include/tk&tk-ver;/{unix,generic} && install -v -m644 *.h /usr/include/tk&tk-ver;/unix/ && install -v -m644 ../generic/*.h /usr/include/tk&tk-ver;/generic/ && rm -v -f /usr/include/tk&tk-ver;/generic/tk{,{,Plat}Decls}.h && ln -v -nsf ../../include/tk&tk-ver; /usr/lib/tk&tk-ver;/include && ln -v -sf libtk&tk-ver;.so /usr/lib/libtk.so && ln -v -sf wish&tk-ver; /usr/bin/wish Command Explanations --enable-threads: This switch forces the package to build with thread support. sed -i -e ... tkConfig.sh: The Tk package expects that its source tree is preserved so that packages depending on it for their compilation can utilize it. This sed removes the references to the build directory and replaces them with saner system-wide locations. install ...: These commands install the internal headers into a system-wide location. ln -v -sf ...: These commands create compatibility symbolic links. Contents Installed Programs Installed Libraries Installed Directories wish and wish&tk-ver; libtk.so and libtkstub&tk-ver;.a /usr/include/tk&tk-ver; and /usr/lib/tk&tk-ver; Short Descriptions wish is a symlink to the wish&tk-ver; program. wish wish&tk-ver; is a simple shell containing the Tk toolkit that creates a main window and then processes Tcl commands. wish&tk-ver; libtk.so contains the API functions required by Tk. libtk.so