source: chapter05/tcl.xml@ e747759

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

Added sect1info blocks to packages pages.

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

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