Tcl-8.4.13

Introduction to Tcl

The Tcl package contains the Tool Command Language, a robust general-purpose scripting language.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tcl

Installation of Tcl

[Note]

Note

This package is also installed in LFS during the bootstrap phase. As it is not installed during Chapter 6 of LFS, installation instructions are included here in BLFS.

Install Tcl by running the following commands:

cd unix &&
./configure --prefix=/usr --enable-threads &&
make

To test the results, issue: make test.

Now, as the root user:

make install &&
make install-private-headers &&
ln -v -sf tclsh8.4 /usr/bin/tclsh

Command Explanations

--enable-threads: This switch forces the package to build with thread support.

make install-private-headers: This command is used to install the Tcl library interface headers used by other packages if they link to the Tcl library.

ln -v -sf tclsh8.4 /usr/bin/tclsh: This command is used to create a compatibility symbolic link to the tclsh8.4 file as many packages expect a file named tclsh.

Contents

Installed Programs: tclsh and tclsh8.4
Installed Libraries: libtcl.so and libtclstub8.4.a
Installed Directories: /usr/lib/tcl8.4

Short Descriptions

tclsh

is a symlink to the tclsh8.4 program.

tclsh8.4

is a simple shell containing the Tcl interpreter.

libtcl.so

contains the API functions required by Tcl.

Last updated on 2007-01-15 17:25:53 -0600