source: chapter05/tcl.xml@ 673b0d8

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 673b0d8 was 673b0d8, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-tools-tcl" xreflabel="Tcl">
7<title>Tcl-&tcl-version;</title>
8<?dbhtml filename="tcl.html"?>
9
10<indexterm zone="ch-tools-tcl"><primary sortas="a-Tcl">Tcl</primary></indexterm>
11
12<para>The Tcl package contains the Tool Command Language.</para>
13
14<screen>&buildtime; 0.9 SBU
15&diskspace; 23 MB</screen>
16
17<para>Tcl installation depends on: Bash, Binutils, Coreutils, Diffutils,
18GCC, Glibc, Grep, Make, Sed.</para>
19
20
21
22<sect2>
23<title>Installation of Tcl</title>
24
25<para>This package and the next two are only installed to support running the
26test suites for GCC and Binutils. Installing three packages just for testing
27purposes may seem like overkill, but it is very reassuring, if not essential,
28to know that our most important tools are working properly. Even if the
29the test suites are not run in this chapter (we recommend not running them),
30these packages are still required to run the test suites in the next
31chapter.</para>
32
33<para>Prepare Tcl for compilation:</para>
34
35<screen><userinput>cd unix
36./configure --prefix=/tools</userinput></screen>
37
38<para>Build the package:</para>
39
40<screen><userinput>make</userinput></screen>
41
42<para>If you want to test the results, then issue:
43<userinput>TZ=UTC make test</userinput>. However, the Tcl test suite is known
44to experience failures under certain host conditions that are not fully
45understood. Therefore, test suite failures here are not surprising, and are not
46considered critical. The <emphasis>TZ=UTC</emphasis> parameter sets the time
47zone to Coordinated Universal Time (UTC) also known as Greenwich Mean Time
48(GMT), but only for the duration of the test suite run. This ensures the clock
49tests are exercised correctly. More information on the TZ environment variable
50will be given later on in <xref linkend="chapter-bootscripts"/>.</para>
51
52<para>Install the package:</para>
53
54<screen><userinput>make install</userinput></screen>
55
56
57<warning><para><emphasis>Do not remove</emphasis> the
58<filename>tcl&tcl-version;</filename> source directory yet, as the next package
59will need its internal headers.</para></warning>
60
61
62<para>Now make a necessary symbolic link:</para>
63
64<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
65
66</sect2>
67
68
69<sect2 id="contents-tcl"><title>Contents of Tcl</title>
70
71<para><emphasis>Installed programs</emphasis>: tclsh (link to tclsh8.4),
72tclsh8.4</para>
73
74<para><emphasis>Installed library</emphasis>: libtcl8.4.so</para>
75
76</sect2>
77
78
79<sect2><title>Short descriptions</title>
80
81<indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
82<para id="tclsh8.4"><command>tclsh8.4</command> is the Tcl command shell.</para>
83
84<indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
85<para id="libtcl8.4.so"><command>libtcl8.4.so</command> is the Tcl library.</para>
86
87</sect2>
88
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.