source: BOOK/testsuite-tools/common/tcl.xml@ 2eba61f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2eba61f was 45bf79c, checked in by Chris Staub <chris@…>, 18 years ago

Move text about tcl expect and dejagnu from tcl page to the beginning of the chapter

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
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
[45bf79c]47<screen os="j"><userinput>ln -sv tclsh8.4 /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>
56 <segtitle>Installed library</segtitle>
57
58 <seglistitem>
59 <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
60 <seg>libtcl8.4.so</seg>
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
69 <varlistentry id="tclsh8.4">
70 <term><command>tclsh8.4</command></term>
71 <listitem>
72 <para>The Tcl command shell</para>
[134ba96]73 <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
[3f8be484]74 <primary sortas="b-tclsh8.4">tclsh8.4</primary>
75 </indexterm>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry id="tclsh">
80 <term><command>tclsh</command></term>
81 <listitem>
82 <para>A link to tclsh8.4</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
89 <varlistentry id="libtcl8.4.so">
90 <term><filename class="libraryfile">libtcl8.4.so</filename></term>
91 <listitem>
92 <para>The Tcl library</para>
[134ba96]93 <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
[3f8be484]94 <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 </variablelist>
100
101 </sect2>
102
103</sect1>
Note: See TracBrowser for help on using the repository browser.