Install Tcl-8.5.10

Source: Internet
Author: User
Document directory
  • Package information
  • Additional downloads
  • Short descriptions
Introduction to TCL

The tcl package contains the tool command language, a robust general-purpose scripting language.

This package is known to build and work properly using an LFS-7.0 platform.

Package information
  • Download (HTTP): http://downloads.sourceforge.net/tcl/tcl8.5.10-src.tar.gz

  • Download (FTP): ftp://mirror.ovh.net/gentoo-distfiles/distfiles/tcl8.5.10-src.tar.gz

  • Download MD5 sum: a08eaf8467c0631937067c1948dd326b

  • Download size: 4.3 MB

  • Estimated disk space required: 47 MB (supported des documentation installation)

  • Estimated build time: 0.4 SBU

Additional downloads

Optional documentation

  • Download (HTTP): http://downloads.sourceforge.net/tcl/tcl8.5.10-html.tar.gz

  • Download MD5 sum: 3b5cf7f3dffe534bda80fb826937034a

  • Download size: 912 KB

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

Installation of TCL

This package is also installed in LFS during the bootstrap phase. As it is not installed during chapter 6 of LFS, installation instructions are supported here in blfs.

If you downloaded the optional documentation, unpack the tarball by issuing the following command:

tar -xf ../tcl8.5.10-html.tar.gz --strip-components=1

Install TCL by running the following commands:

cd unix && ./configure --prefix=/usr \ --enable-threads \ --mandir=/usr/share/man && make && sed -i \ -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \ -e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \ tclConfig.sh

To test the results, issue:Make Test.

Now, asrootUser:

make install && make install-private-headers && ln -v -sf tclsh8.5 /usr/bin/tclsh && chmod -v 755 /usr/lib/libtcl8.5.so

If you downloaded the optional documentation, install it by issuing the following commands asrootUser:

install -v -m755 -d /usr/share/doc/tcl-8.5.10 && cp -v -R ../html/* /usr/share/doc/tcl-8.5.10
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.5/usr/bin/tclsh: This command is used to create a compatibility symbolic link toTclsh8.5File as your packages into CT a file namedTclsh.

Sed-I-e... tclconfig. Sh: The Tcl package expects that its source tree is preserved so that packages depending on it for their compilation can utilize it. ThisSedRemoves the references to the build directory and replaces them with saner system-wide locations.

Contents Installed programs:Tclsh and tclsh8.5 Installed libraries:Libtcl8.5.so and libtclstub8.5.a Installed directories:/Usr/lib/tcl8,/usr/lib/tcl8.5,/usr/share/man/Mann, and optionally,/usr/share/doc/8.5.10short descriptions

Tclsh

Is a symlink toTclsh8.5Program.

Tclsh8.5

Is a simple shell containing the Tcl interpreter.

libtcl.so

Contains the API functions required by TCL.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.