source: chapter05/tcl.xml@ 1375d26

Last change on this file since 1375d26 was 1375d26, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter05/*.xml) RELAX NG validation fixes

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

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