[673b0d8] | 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 | ]>
|
---|
[9652249] | 6 | <sect1 id="ch-tools-tcl" xreflabel="Tcl" role="wrap">
|
---|
[673b0d8] | 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>
|
---|
[bc82645e] | 11 |
|
---|
[9652249] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Tcl package contains the Tool Command Language.</para>
|
---|
| 14 |
|
---|
[9652249] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
| 18 | <seglistitem><seg>0.9 SBU</seg><seg>23 MB</seg></seglistitem>
|
---|
| 19 | </segmentedlist>
|
---|
[bc82645e] | 20 |
|
---|
[9652249] | 21 | <segmentedlist>
|
---|
| 22 | <segtitle>Tcl installation depends on</segtitle>
|
---|
| 23 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
| 24 | GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
|
---|
| 25 | </segmentedlist>
|
---|
[73aedd1d] | 26 |
|
---|
[9652249] | 27 | </sect2>
|
---|
[73aedd1d] | 28 |
|
---|
[9652249] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Tcl</title>
|
---|
| 31 |
|
---|
[673b0d8] | 32 | <para>This package and the next two are only installed to support running the
|
---|
[ede9b9b] | 33 | test suites for GCC and Binutils. Installing three packages just for testing
|
---|
| 34 | purposes may seem like overkill, but it is very reassuring, if not essential,
|
---|
[673b0d8] | 35 | to know that our most important tools are working properly. Even if the
|
---|
| 36 | the test suites are not run in this chapter (we recommend not running them),
|
---|
| 37 | these packages are still required to run the test suites in the next
|
---|
[443cace] | 38 | chapter.</para>
|
---|
[73aedd1d] | 39 |
|
---|
[d27a27b] | 40 | <para>Prepare Tcl for compilation:</para>
|
---|
[73aedd1d] | 41 |
|
---|
| 42 | <screen><userinput>cd unix
|
---|
| 43 | ./configure --prefix=/tools</userinput></screen>
|
---|
| 44 |
|
---|
| 45 | <para>Build the package:</para>
|
---|
| 46 |
|
---|
| 47 | <screen><userinput>make</userinput></screen>
|
---|
| 48 |
|
---|
[673b0d8] | 49 | <para>If you want to test the results, then issue:
|
---|
[c91dd5b] | 50 | <userinput>TZ=UTC make test</userinput>. However, the Tcl test suite is known
|
---|
| 51 | to experience failures under certain host conditions that are not fully
|
---|
| 52 | understood. Therefore, test suite failures here are not surprising, and are not
|
---|
[574b0ea] | 53 | considered critical. The <parameter>TZ=UTC</parameter> parameter sets the time
|
---|
[c91dd5b] | 54 | zone to Coordinated Universal Time (UTC) also known as Greenwich Mean Time
|
---|
| 55 | (GMT), but only for the duration of the test suite run. This ensures the clock
|
---|
| 56 | tests are exercised correctly. More information on the TZ environment variable
|
---|
[673b0d8] | 57 | will be given later on in <xref linkend="chapter-bootscripts"/>.</para>
|
---|
[73aedd1d] | 58 |
|
---|
| 59 | <para>Install the package:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput>make install</userinput></screen>
|
---|
| 62 |
|
---|
[f4993cf] | 63 | <warning><para><emphasis>Do not remove</emphasis> the
|
---|
[574b0ea] | 64 | <filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
|
---|
[f4993cf] | 65 | will need its internal headers.</para></warning>
|
---|
| 66 |
|
---|
[673b0d8] | 67 | <para>Now make a necessary symbolic link:</para>
|
---|
[73aedd1d] | 68 |
|
---|
| 69 | <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
[bc82645e] | 72 |
|
---|
[9652249] | 73 | <sect2 id="contents-tcl" role="content"><title>Contents of Tcl</title>
|
---|
[5888299] | 74 |
|
---|
[9652249] | 75 | <segmentedlist>
|
---|
| 76 | <segtitle>Installed programs</segtitle>
|
---|
| 77 | <segtitle>Installed library</segtitle>
|
---|
| 78 | <seglistitem><seg>tclsh (link to tclsh8.4), tclsh8.4</seg><seg>libtcl8.4.so</seg></seglistitem>
|
---|
| 79 | </segmentedlist>
|
---|
[673b0d8] | 80 |
|
---|
[9652249] | 81 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 82 |
|
---|
[b8a819f] | 83 | <varlistentry id="tclsh8.4">
|
---|
| 84 | <term><command>tclsh8.4</command></term>
|
---|
[9652249] | 85 | <listitem>
|
---|
[673b0d8] | 86 | <indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
|
---|
[9652249] | 87 | <para>is the Tcl command shell.</para>
|
---|
| 88 | </listitem>
|
---|
| 89 | </varlistentry>
|
---|
[673b0d8] | 90 |
|
---|
[b8a819f] | 91 | <varlistentry id="libtcl8.4.so">
|
---|
[e63529b] | 92 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
[9652249] | 93 | <listitem>
|
---|
[673b0d8] | 94 | <indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
|
---|
[9652249] | 95 | <para>is the Tcl library.</para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 | </variablelist>
|
---|
[673b0d8] | 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | </sect1>
|
---|