source: chapter05/tcl.xml@ 69993f4

6.0
Last change on this file since 69993f4 was 69993f4, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Second round of edits for final release

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

  • Property mode set to 100644
File size: 3.8 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" role="wrap">
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<sect2 role="package"><title/>
13<para>The Tcl package contains the Tool Command Language.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.9 SBU</seg><seg>23 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Tcl installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24GCC, Glibc, Grep, Make and Sed</seg></seglistitem>
25</segmentedlist>
26
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Tcl</title>
31
32<para>This package and the next two (Expect and DejaGNU)
33are
34installed to support running the test suites for GCC and Binutils.
35Installing three packages for testing purposes may seem excessive, but
36it is very reassuring, if not essential, to know that the most
37important tools are working properly. Even if the test suites are not
38run in this chapter (we recommend not running them), these packages
39are required to run the test suites in <xref
40linkend="chapter-building-system"/>.</para>
41
42<para>Prepare Tcl for compilation:</para>
43
44<screen><userinput>cd unix
45./configure --prefix=/tools</userinput></screen>
46
47<para>Build the package:</para>
48
49<screen><userinput>make</userinput></screen>
50
51<para>To test the results, issue: <userinput>TZ=UTC make
52test</userinput>. The Tcl test suite is known to experience failures
53under certain host conditions that are not fully understood.
54Therefore, test suite failures here are not surprising, and are not
55considered critical. The <parameter>TZ=UTC</parameter> parameter sets
56the time zone to Coordinated Universal Time (UTC), also known as
57Greenwich Mean Time (GMT), but only for the duration of the test suite
58run. This ensures that the clock tests are exercised correctly. More
59information on the TZ environment variable is provided in <xref
60linkend="chapter-bootscripts"/>.</para>
61
62<para>Install the package:</para>
63
64<screen><userinput>make install</userinput></screen>
65
66<warning><para><emphasis>Do not</emphasis> remove the
67<filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
68will need its internal headers.</para></warning>
69
70<para>Now make a necessary symbolic link:</para>
71
72<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
73
74</sect2>
75
76<sect2 id="contents-tcl" role="content"><title>Contents of Tcl</title>
77
78<segmentedlist>
79<segtitle>Installed programs</segtitle>
80<segtitle>Installed library</segtitle>
81<seglistitem><seg>tclsh (link to tclsh8.4) and tclsh8.4</seg><seg>libtcl8.4.so</seg></seglistitem>
82</segmentedlist>
83
84<variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
85<?dbfo list-presentation="list"?>
86
87<varlistentry id="tclsh8.4">
88<term><command>tclsh8.4</command></term>
89<listitem>
90<para>the Tcl command shell.</para>
91<indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
92</listitem>
93</varlistentry>
94
95<varlistentry id="tclsh">
96<term><command>tclsh</command></term>
97<listitem>
98<para>link to tclsh8.4</para>
99<indexterm zone="ch-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm>
100</listitem>
101</varlistentry>
102
103<varlistentry id="libtcl8.4.so">
104<term><filename class="libraryfile">libtcl8.4.so</filename></term>
105<listitem>
106<para>the Tcl library.</para>
107<indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
108</listitem>
109</varlistentry>
110</variablelist>
111
112</sect2>
113
114</sect1>
115
Note: See TracBrowser for help on using the repository browser.