source: testsuite-tools/common/expect.xml@ 22e687f

Last change on this file since 22e687f was 0636f6c, checked in by Jim Gifford <clfs@…>, 19 years ago

r981@server (orig r979): jim | 2005-12-30 10:11:32 -0800

r1226@server: cstaub | 2005-12-30 08:35:37 -0800
Updated package deps, removed explanation of cross-compiling from final-system binutils, and removed note about GRUB's testsuite failure


  • Property mode set to 100644
File size: 4.2 KB
RevLine 
[bf8c11f]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
[5be6331]8<sect1 id="ch-testsuite-tools-expect" role="wrap">
[bf8c11f]9 <?dbhtml filename="expect.html"?>
10
11 <title>Expect-&expect-version;</title>
12
[5be6331]13 <indexterm zone="ch-testsuite-tools-expect">
[bf8c11f]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 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils,
[0636f6c]28 GCC, Glibc, Grep, Make, Patch, Sed, and Tcl</seg>
[bf8c11f]29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Expect</title>
36
37 <para os="a">First, fix a bug that can result in false failures during the GCC
38 test suite run:</para>
39
40<screen os="b"><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
41
42 <para os="c">Now prepare Expect for compilation:</para>
43
[e7732d7]44<screen os="d"><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
[31cff1bc]45 --with-tclinclude=/tools/include</userinput></screen>
[bf8c11f]46
[e7732d7]47 <variablelist os="e">
[bf8c11f]48 <title>The meaning of the configure options:</title>
49
[f32f537]50 <varlistentry os="e1">
[bf8c11f]51 <term><parameter>--with-tcl=/tools/lib</parameter></term>
52 <listitem>
53 <para>This ensures that the configure script finds the Tcl
[5be6331]54 installation in the temporary testsuite-tools location.</para>
[bf8c11f]55 </listitem>
56 </varlistentry>
57
[f32f537]58 <varlistentry os="e2">
[517ec63]59 <term><parameter>--with-tclinclude=/tools/include</parameter></term>
[bf8c11f]60 <listitem>
[517ec63]61 <para>This explicitly tells Expect where to find Tcl's internal headers.
62 Using this option avoids conditions
[bf8c11f]63 where <command>configure</command> fails because it cannot
64 automatically discover the location of the Tcl source directory.</para>
65 </listitem>
66 </varlistentry>
67
68 </variablelist>
69
[e7732d7]70 <para os="f">Build the package:</para>
[bf8c11f]71
[e7732d7]72<screen os="g"><userinput>make</userinput></screen>
[bf8c11f]73
[e7732d7]74 <para os="i">Install the package:</para>
[bf8c11f]75
[e7732d7]76<screen os="j"><userinput>make SCRIPTS="" install</userinput></screen>
[bf8c11f]77
[e7732d7]78 <variablelist os="k">
[bf8c11f]79 <title>The meaning of the make parameter:</title>
80
81 <varlistentry>
82 <term><parameter>SCRIPTS=""</parameter></term>
83 <listitem>
84 <para>This prevents installation of the supplementary expect
85 scripts, which are not needed.</para>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 </sect2>
92
93 <sect2 id="contents-expect" role="content">
94 <title>Contents of Expect</title>
95
96 <segmentedlist>
97 <segtitle>Installed program</segtitle>
98 <segtitle>Installed library</segtitle>
99
100 <seglistitem>
101 <seg>expect</seg>
102 <seg>libexpect-&expect-lib-version;.a</seg>
103 </seglistitem>
104 </segmentedlist>
105
106 <variablelist>
107 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
108 <?dbfo list-presentation="list"?>
109 <?dbhtml list-presentation="table"?>
110
111 <varlistentry id="expect">
112 <term><command>expect</command></term>
113 <listitem>
114 <para>Communicates with other interactive programs according
115 to a script</para>
[5be6331]116 <indexterm zone="ch-testsuite-tools-expect expect">
[bf8c11f]117 <primary sortas="b-expect">expect</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="libexpect">
123 <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
124 <listitem>
125 <para>Contains functions that allow Expect to be used as a Tcl
126 extension or to be used directly from C or C++ (without Tcl)</para>
[5be6331]127 <indexterm zone="ch-testsuite-tools-expect libexpect">
[bf8c11f]128 <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 </variablelist>
134
135 </sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.