source: chapter05/tcl.xml@ ef13657

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

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@3999 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 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, 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 still 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>. However, the Tcl test
53suite is known to experience failures under certain host conditions
54that are not fully understood. Therefore, test suite failures here are not surprising, and are not
55considered critical. The <parameter>TZ=UTC</parameter> parameter sets the time zone to
56Coordinated Universal Time (UTC), also known as Greenwich Mean Time
57(GMT), but only for the duration of the test suite run. This ensures
58that the clock tests are exercised correctly. More information on the
59TZ environment variable will be 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), tclsh8.4</seg><seg>libtcl8.4.so</seg></seglistitem>
82</segmentedlist>
83
84<variablelist><title>Short descriptions</title>
85
86<varlistentry id="tclsh8.4">
87<term><command>tclsh8.4</command></term>
88<listitem>
89<indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
90<para>the Tcl command shell.</para>
91</listitem>
92</varlistentry>
93
94<varlistentry id="libtcl8.4.so">
95<term><filename class="libraryfile">libtcl8.4.so</filename></term>
96<listitem>
97<indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
98<para>the Tcl library.</para>
99</listitem>
100</varlistentry>
101</variablelist>
102
103</sect2>
104
105</sect1>
106
Note: See TracBrowser for help on using the repository browser.