source: temp-tools/common/expect.xml@ d1f4384

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

r887@server (orig r885): jim | 2005-12-12 22:18:58 -0800

r1043@server: jim | 2005-12-12 17:10:01 -0800
Removed testsuites from Temp-Tools


  • Property mode set to 100644
File size: 4.6 KB
Line 
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
8<sect1 id="ch-temp-tools-expect" role="wrap">
9 <?dbhtml filename="expect.html"?>
10
11 <title>Expect-&expect-version;</title>
12
13 <indexterm zone="ch-temp-tools-expect">
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,
28 GCC, Glibc, Grep, Make, Sed, and Tcl</seg>
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
44<screen os="d"><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
45 --with-tclinclude=/tools/include --with-x=no</userinput></screen>
46
47 <variablelist os="e">
48 <title>The meaning of the configure options:</title>
49
50 <varlistentry os="e1">
51 <term><parameter>--with-tcl=/tools/lib</parameter></term>
52 <listitem>
53 <para>This ensures that the configure script finds the Tcl
54 installation in the temporary temp-tools location.</para>
55 </listitem>
56 </varlistentry>
57
58 <varlistentry os="e2">
59 <term><parameter>--with-tclinclude=/tools/include</parameter></term>
60 <listitem>
61 <para>This explicitly tells Expect where to find Tcl's internal headers.
62 Using this option avoids conditions
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 <varlistentry os="e3">
69 <term><parameter>--with-x=no</parameter></term>
70 <listitem>
71 <para>This tells the configure script not to search for Tk
72 (the Tcl GUI component) or the X Window System libraries, both of
73 which may reside on the host system but will not exist when
74 building the final system.</para>
75 </listitem>
76 </varlistentry>
77
78 </variablelist>
79
80 <para os="f">Build the package:</para>
81
82<screen os="g"><userinput>make</userinput></screen>
83
84 <para os="i">Install the package:</para>
85
86<screen os="j"><userinput>make SCRIPTS="" install</userinput></screen>
87
88 <variablelist os="k">
89 <title>The meaning of the make parameter:</title>
90
91 <varlistentry>
92 <term><parameter>SCRIPTS=""</parameter></term>
93 <listitem>
94 <para>This prevents installation of the supplementary expect
95 scripts, which are not needed.</para>
96 </listitem>
97 </varlistentry>
98
99 </variablelist>
100
101 </sect2>
102
103 <sect2 id="contents-expect" role="content">
104 <title>Contents of Expect</title>
105
106 <segmentedlist>
107 <segtitle>Installed program</segtitle>
108 <segtitle>Installed library</segtitle>
109
110 <seglistitem>
111 <seg>expect</seg>
112 <seg>libexpect-&expect-lib-version;.a</seg>
113 </seglistitem>
114 </segmentedlist>
115
116 <variablelist>
117 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
118 <?dbfo list-presentation="list"?>
119 <?dbhtml list-presentation="table"?>
120
121 <varlistentry id="expect">
122 <term><command>expect</command></term>
123 <listitem>
124 <para>Communicates with other interactive programs according
125 to a script</para>
126 <indexterm zone="ch-temp-tools-expect expect">
127 <primary sortas="b-expect">expect</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="libexpect">
133 <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
134 <listitem>
135 <para>Contains functions that allow Expect to be used as a Tcl
136 extension or to be used directly from C or C++ (without Tcl)</para>
137 <indexterm zone="ch-temp-tools-expect libexpect">
138 <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 </variablelist>
144
145 </sect2>
146
147</sect1>
Note: See TracBrowser for help on using the repository browser.