source: BOOK/testsuite-tools/common/expect.xml@ 7ddb05f

sysvinit
Last change on this file since 7ddb05f was c7477f8e, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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