[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[134ba96] | 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
|
---|
[3f8be484] | 9 | <?dbhtml filename="tcl.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tcl-&tcl-version;</title>
|
---|
| 12 |
|
---|
[134ba96] | 13 | <indexterm zone="ch-testsuite-tools-tcl">
|
---|
[3f8be484] | 14 | <primary sortas="a-Tcl">Tcl</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Tcl package contains the Tool Command Language.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Tcl</title>
|
---|
| 26 |
|
---|
[45bf79c] | 27 | <para os="a">Prepare Tcl for compilation:</para>
|
---|
[3f8be484] | 28 |
|
---|
[a730c40] | 29 | <screen><userinput>cd unix
|
---|
| 30 | ./configure --prefix=/tools</userinput></screen>
|
---|
[3f8be484] | 31 |
|
---|
[45bf79c] | 32 | <para os="c">Build the package:</para>
|
---|
[3f8be484] | 33 |
|
---|
[45bf79c] | 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 35 |
|
---|
[45bf79c] | 36 | <para os="e">Install the package:</para>
|
---|
[3f8be484] | 37 |
|
---|
[45bf79c] | 38 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 39 |
|
---|
[45bf79c] | 40 | <para os="g">Tcl's private header files are needed for the next
|
---|
[39139e4] | 41 | package, Expect. Install them into /tools:</para>
|
---|
[3f8be484] | 42 |
|
---|
[45bf79c] | 43 | <screen os="h"><userinput>make install-private-headers</userinput></screen>
|
---|
[3f8be484] | 44 |
|
---|
[45bf79c] | 45 | <para os="i">Now make a necessary symbolic link:</para>
|
---|
[3f8be484] | 46 |
|
---|
[1da2a84] | 47 | <screen os="j"><userinput>ln -sv tclsh&tcl-version2; /tools/bin/tclsh</userinput></screen>
|
---|
[3f8be484] | 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-tcl" role="content">
|
---|
| 52 | <title>Contents of Tcl</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed programs</segtitle>
|
---|
[188b6b2] | 56 | <segtitle>Installed libraries</segtitle>
|
---|
[3f8be484] | 57 |
|
---|
| 58 | <seglistitem>
|
---|
[1da2a84] | 59 | <seg>tclsh (link to tclsh&tcl-version2;) and tclsh&tcl-version2;</seg>
|
---|
[188b6b2] | 60 | <seg>libtcl&tcl-version2;.so, libtclstub&tcl-version2;.a</seg>
|
---|
[3f8be484] | 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
[94d70264] | 69 | <varlistentry id="tclsh-version">
|
---|
[1da2a84] | 70 | <term><command>tclsh&tcl-version2;</command></term>
|
---|
[3f8be484] | 71 | <listitem>
|
---|
| 72 | <para>The Tcl command shell</para>
|
---|
[94d70264] | 73 | <indexterm zone="ch-testsuite-tools-tcl tclsh-version">
|
---|
| 74 | <primary sortas="b-tclsh-version">tclsh-version;</primary>
|
---|
[3f8be484] | 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="tclsh">
|
---|
| 80 | <term><command>tclsh</command></term>
|
---|
| 81 | <listitem>
|
---|
[1da2a84] | 82 | <para>A link to tclsh&tcl-version2;</para>
|
---|
[134ba96] | 83 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[3f8be484] | 84 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
[94d70264] | 89 | <varlistentry id="libtcl-version.so">
|
---|
[1da2a84] | 90 | <term><filename class="libraryfile">libtcl&tcl-version2;.so</filename></term>
|
---|
[3f8be484] | 91 | <listitem>
|
---|
| 92 | <para>The Tcl library</para>
|
---|
[94d70264] | 93 | <indexterm zone="ch-testsuite-tools-tcl libtcl-version.so">
|
---|
| 94 | <primary sortas="c-libtcl-version.so">libtcl-version.so</primary>
|
---|
[3f8be484] | 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
[188b6b2] | 99 | <varlistentry id="libtclstub-version.a">
|
---|
| 100 | <term><filename class="libraryfile">libtclstub&tcl-version2;.a</filename></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>The Tcl Stub library</para>
|
---|
| 103 | <indexterm zone="ch-testsuite-tools-tcl libtclstub-version.a">
|
---|
| 104 | <primary sortas="c-libtclstub-version.a">libtclstub-version.a</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
[3f8be484] | 109 | </variablelist>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | </sect1>
|
---|