[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
|
---|
[c01bd946] | 30 | ./configure \
|
---|
| 31 | --prefix=/tools</userinput></screen>
|
---|
[3f8be484] | 32 |
|
---|
[45bf79c] | 33 | <para os="c">Build the package:</para>
|
---|
[3f8be484] | 34 |
|
---|
[45bf79c] | 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 36 |
|
---|
[45bf79c] | 37 | <para os="e">Install the package:</para>
|
---|
[3f8be484] | 38 |
|
---|
[45bf79c] | 39 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 40 |
|
---|
[45bf79c] | 41 | <para os="g">Tcl's private header files are needed for the next
|
---|
[39139e4] | 42 | package, Expect. Install them into /tools:</para>
|
---|
[3f8be484] | 43 |
|
---|
[45bf79c] | 44 | <screen os="h"><userinput>make install-private-headers</userinput></screen>
|
---|
[3f8be484] | 45 |
|
---|
[45bf79c] | 46 | <para os="i">Now make a necessary symbolic link:</para>
|
---|
[3f8be484] | 47 |
|
---|
[1da2a84] | 48 | <screen os="j"><userinput>ln -sv tclsh&tcl-version2; /tools/bin/tclsh</userinput></screen>
|
---|
[3f8be484] | 49 |
|
---|
| 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2 id="contents-tcl" role="content">
|
---|
| 53 | <title>Contents of Tcl</title>
|
---|
| 54 |
|
---|
| 55 | <segmentedlist>
|
---|
| 56 | <segtitle>Installed programs</segtitle>
|
---|
[188b6b2] | 57 | <segtitle>Installed libraries</segtitle>
|
---|
[3f8be484] | 58 |
|
---|
| 59 | <seglistitem>
|
---|
[1da2a84] | 60 | <seg>tclsh (link to tclsh&tcl-version2;) and tclsh&tcl-version2;</seg>
|
---|
[188b6b2] | 61 | <seg>libtcl&tcl-version2;.so, libtclstub&tcl-version2;.a</seg>
|
---|
[3f8be484] | 62 | </seglistitem>
|
---|
| 63 | </segmentedlist>
|
---|
| 64 |
|
---|
| 65 | <variablelist>
|
---|
| 66 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 67 | <?dbfo list-presentation="list"?>
|
---|
| 68 | <?dbhtml list-presentation="table"?>
|
---|
| 69 |
|
---|
[94d70264] | 70 | <varlistentry id="tclsh-version">
|
---|
[1da2a84] | 71 | <term><command>tclsh&tcl-version2;</command></term>
|
---|
[3f8be484] | 72 | <listitem>
|
---|
| 73 | <para>The Tcl command shell</para>
|
---|
[94d70264] | 74 | <indexterm zone="ch-testsuite-tools-tcl tclsh-version">
|
---|
| 75 | <primary sortas="b-tclsh-version">tclsh-version;</primary>
|
---|
[3f8be484] | 76 | </indexterm>
|
---|
| 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
| 79 |
|
---|
| 80 | <varlistentry id="tclsh">
|
---|
| 81 | <term><command>tclsh</command></term>
|
---|
| 82 | <listitem>
|
---|
[1da2a84] | 83 | <para>A link to tclsh&tcl-version2;</para>
|
---|
[134ba96] | 84 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[3f8be484] | 85 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 86 | </indexterm>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
[94d70264] | 90 | <varlistentry id="libtcl-version.so">
|
---|
[1da2a84] | 91 | <term><filename class="libraryfile">libtcl&tcl-version2;.so</filename></term>
|
---|
[3f8be484] | 92 | <listitem>
|
---|
| 93 | <para>The Tcl library</para>
|
---|
[94d70264] | 94 | <indexterm zone="ch-testsuite-tools-tcl libtcl-version.so">
|
---|
| 95 | <primary sortas="c-libtcl-version.so">libtcl-version.so</primary>
|
---|
[3f8be484] | 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
[188b6b2] | 100 | <varlistentry id="libtclstub-version.a">
|
---|
| 101 | <term><filename class="libraryfile">libtclstub&tcl-version2;.a</filename></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>The Tcl Stub library</para>
|
---|
| 104 | <indexterm zone="ch-testsuite-tools-tcl libtclstub-version.a">
|
---|
| 105 | <primary sortas="c-libtclstub-version.a">libtclstub-version.a</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 |
|
---|
[3f8be484] | 110 | </variablelist>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | </sect1>
|
---|