source: chapter05/tcl.xml@ 8d5ffbfd

Last change on this file since 8d5ffbfd was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4691 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.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-tools-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>&dependencies;</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) are
33installed to support running the test suites for GCC and Binutils.
34Installing three packages for testing purposes may seem excessive, but
35it is very reassuring, if not essential, to know that the most
36important tools are working properly. Even if the test suites are not
37run in this chapter (they are not mandatory), these packages
38are required to run the test suites in <xref
39linkend="chapter-building-system"/>.</para>
40
41<para>Prepare Tcl for compilation:</para>
42
43<screen><userinput>cd unix
44./configure --prefix=/tools</userinput></screen>
45
46<para>Build the package:</para>
47
48<screen><userinput>make</userinput></screen>
49
50<para>To test the results, issue: <userinput>TZ=UTC make
51test</userinput>. The Tcl test suite is known to experience failures
52under certain host conditions that are not fully understood.
53Therefore, test suite failures here are not surprising, and are not
54considered critical. The <parameter>TZ=UTC</parameter> parameter sets
55the time zone to Coordinated Universal Time (UTC), also known as
56Greenwich Mean Time (GMT), but only for the duration of the test suite
57run. This ensures that the clock tests are exercised correctly.
58Details on the <envar>TZ</envar> environment variable is provided in
59<xref linkend="chapter-bootscripts"/>.</para>
60
61<para>Install the package:</para>
62
63<screen><userinput>make install</userinput></screen>
64
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<?dbhtml list-presentation="table"?>
87
88<varlistentry id="tclsh8.4">
89<term><command>tclsh8.4</command></term>
90<listitem>
91<para>The Tcl command shell</para>
92<indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
93</listitem>
94</varlistentry>
95
96<varlistentry id="tclsh">
97<term><command>tclsh</command></term>
98<listitem>
99<para>A link to tclsh8.4</para>
100<indexterm zone="ch-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm>
101</listitem>
102</varlistentry>
103
104<varlistentry id="libtcl8.4.so">
105<term><filename class="libraryfile">libtcl8.4.so</filename></term>
106<listitem>
107<para>The Tcl library</para>
108<indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
109</listitem>
110</varlistentry>
111</variablelist>
112
113</sect2>
114
115</sect1>
116
Note: See TracBrowser for help on using the repository browser.