source: chapter05/tcl.xml@ b28fd35

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.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 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 b28fd35 was b28fd35, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Finished chapter 05 indentation.

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

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-tools-tcl" role="wrap">
9 <?dbhtml filename="tcl.html"?>
10
11 <title>Tcl-&tcl-version;</title>
12
13 <indexterm zone="ch-tools-tcl">
14 <primary sortas="a-Tcl">Tcl</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Tcl package contains the Tool Command Language.</para>
21
22 <segmentedlist>
23 <segtitle>&buildtime;</segtitle>
24 <segtitle>&diskspace;</segtitle>
25
26 <seglistitem>
27 <seg>0.9 SBU</seg>
28 <seg>23.3 MB</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 <segmentedlist>
33 <segtitle>&dependencies;</segtitle>
34
35 <seglistitem>
36 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
37 Make, and Sed</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Tcl</title>
45
46 <para>This package and the next two (Expect and DejaGNU) are installed
47 to support running the test suites for GCC and Binutils. Installing
48 three packages for testing purposes may seem excessive, but it is very
49 reassuring, if not essential, to know that the most important tools are
50 working properly. Even if the test suites are not run in this chapter
51 (they are not mandatory), these packages are required to run the test
52 suites in <xref linkend="chapter-building-system"/>.</para>
53
54 <para>Tcl's configure script has a syntax error:</para>
55
56<screen><userinput>cd unix
57cp -v configure{,.orig}
58sed "s/relid'/relid/" configure.orig &gt; configure</userinput></screen>
59
60 <para>Prepare Tcl for compilation:</para>
61
62<screen><userinput>./configure --prefix=/tools</userinput></screen>
63
64 <para>Build the package:</para>
65
66<screen><userinput>make</userinput></screen>
67
68 <para>To test the results, issue: <userinput>TZ=UTC make test</userinput>.
69 The Tcl test suite is known to experience failures under certain host
70 conditions that are not fully understood. Therefore, test suite failures
71 here are not surprising, and are not considered critical. The
72 <parameter>TZ=UTC</parameter> parameter sets the time zone to Coordinated
73 Universal Time (UTC), also known as Greenwich Mean Time (GMT), but only
74 for the duration of the test suite run. This ensures that the clock tests
75 are exercised correctly. Details on the <envar>TZ</envar> environment
76 variable are provided in <xref linkend="chapter-bootscripts"/>.</para>
77
78 <para>Install the package:</para>
79
80<screen><userinput>make install</userinput></screen>
81
82 <para>Install Tcl's headers. The next package, Expect, requires them
83 to build.</para>
84
85<screen><userinput>make install-private-headers</userinput></screen>
86
87 <para>Now make a necessary symbolic link:</para>
88
89<screen><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
90
91 </sect2>
92
93 <sect2 id="contents-tcl" role="content">
94 <title>Contents of Tcl</title>
95
96 <segmentedlist>
97 <segtitle>Installed programs</segtitle>
98 <segtitle>Installed library</segtitle>
99
100 <seglistitem>
101 <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
102 <seg>libtcl8.4.so</seg>
103 </seglistitem>
104 </segmentedlist>
105
106 <variablelist>
107 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
108 <?dbfo list-presentation="list"?>
109 <?dbhtml list-presentation="table"?>
110
111 <varlistentry id="tclsh8.4">
112 <term><command>tclsh8.4</command></term>
113 <listitem>
114 <para>The Tcl command shell</para>
115 <indexterm zone="ch-tools-tcl tclsh8.4">
116 <primary sortas="b-tclsh8.4">tclsh8.4</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="tclsh">
122 <term><command>tclsh</command></term>
123 <listitem>
124 <para>A link to tclsh8.4</para>
125 <indexterm zone="ch-tools-tcl tclsh">
126 <primary sortas="b-tclsh">tclsh</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="libtcl8.4.so">
132 <term><filename class="libraryfile">libtcl8.4.so</filename></term>
133 <listitem>
134 <para>The Tcl library</para>
135 <indexterm zone="ch-tools-tcl libtcl8.4.so">
136 <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 </variablelist>
142
143 </sect2>
144
145</sect1>
Note: See TracBrowser for help on using the repository browser.