source: BOOK/testsuite-tools/common/expect.xml@ 348e150

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 348e150 was c57b623, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Expect to 5.45.

  • Property mode set to 100644
File size: 3.8 KB
RevLine 
[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-expect" role="wrap">
[3f8be484]9 <?dbhtml filename="expect.html"?>
10
11 <title>Expect-&expect-version;</title>
12
[134ba96]13 <indexterm zone="ch-testsuite-tools-expect">
[3f8be484]14 <primary sortas="a-Expect">Expect</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Expect package contains a program for carrying out scripted
21 dialogues with other interactive programs.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Expect</title>
27
28 <para os="c">Now prepare Expect for compilation:</para>
29
[aa3ee8b]30<screen os="d"><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
[661d1a4]31 --with-tclinclude=/tools/include</userinput></screen>
[3f8be484]32
[aa3ee8b]33 <variablelist os="e">
[3f8be484]34 <title>The meaning of the configure options:</title>
35
[6bb43b3]36 <varlistentry os="e1">
[3f8be484]37 <term><parameter>--with-tcl=/tools/lib</parameter></term>
38 <listitem>
39 <para>This ensures that the configure script finds the Tcl
[134ba96]40 installation in the temporary testsuite-tools location.</para>
[3f8be484]41 </listitem>
42 </varlistentry>
43
[6bb43b3]44 <varlistentry os="e2">
[b15e6404]45 <term><parameter>--with-tclinclude=/tools/include</parameter></term>
[3f8be484]46 <listitem>
[b15e6404]47 <para>This explicitly tells Expect where to find Tcl's internal headers.
48 Using this option avoids conditions
[3f8be484]49 where <command>configure</command> fails because it cannot
50 automatically discover the location of the Tcl source directory.</para>
51 </listitem>
52 </varlistentry>
53
54 </variablelist>
55
[aa3ee8b]56 <para os="f">Build the package:</para>
[3f8be484]57
[aa3ee8b]58<screen os="g"><userinput>make</userinput></screen>
[3f8be484]59
[aa3ee8b]60 <para os="i">Install the package:</para>
[3f8be484]61
[aa3ee8b]62<screen os="j"><userinput>make SCRIPTS="" install</userinput></screen>
[3f8be484]63
[aa3ee8b]64 <variablelist os="k">
[3f8be484]65 <title>The meaning of the make parameter:</title>
66
67 <varlistentry>
68 <term><parameter>SCRIPTS=""</parameter></term>
69 <listitem>
70 <para>This prevents installation of the supplementary expect
71 scripts, which are not needed.</para>
72 </listitem>
73 </varlistentry>
74
75 </variablelist>
76
77 </sect2>
78
79 <sect2 id="contents-expect" role="content">
80 <title>Contents of Expect</title>
81
82 <segmentedlist>
83 <segtitle>Installed program</segtitle>
84 <segtitle>Installed library</segtitle>
85
86 <seglistitem>
87 <seg>expect</seg>
88 <seg>libexpect-&expect-lib-version;.a</seg>
89 </seglistitem>
90 </segmentedlist>
91
92 <variablelist>
93 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94 <?dbfo list-presentation="list"?>
95 <?dbhtml list-presentation="table"?>
96
97 <varlistentry id="expect">
98 <term><command>expect</command></term>
99 <listitem>
100 <para>Communicates with other interactive programs according
101 to a script</para>
[134ba96]102 <indexterm zone="ch-testsuite-tools-expect expect">
[3f8be484]103 <primary sortas="b-expect">expect</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="libexpect">
109 <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
110 <listitem>
111 <para>Contains functions that allow Expect to be used as a Tcl
112 extension or to be used directly from C or C++ (without Tcl)</para>
[134ba96]113 <indexterm zone="ch-testsuite-tools-expect libexpect">
[3f8be484]114 <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 </variablelist>
120
121 </sect2>
122
123</sect1>
Note: See TracBrowser for help on using the repository browser.