Changeset 09fb7a09
- Timestamp:
- 01/17/2006 08:43:10 PM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d93d1c90
- Parents:
- 81109e3
- Location:
- chapter05
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/coreutils.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-coreutils" role="wrap"> 7 <title>Coreutils-&coreutils-version;</title> 8 <?dbhtml filename="coreutils.html"?> 9 <?dbhtml filename="coreutils.html"?> 9 10 10 <indexterm zone="ch-tools-coreutils"> 11 <primary sortas="a-Coreutils">Coreutils</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Coreutils-&coreutils-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-coreutils"> 14 <primary sortas="a-Coreutils">Coreutils</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.9 SBU</seg><seg>53.3 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/coreutils.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Coreutils</title> 29 <seglistitem> 30 <seg>0.9 SBU</seg> 31 <seg>53.3 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Prepare Coreutils for compilation:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/coreutils.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Coreutils</title> 43 44 <para>Prepare Coreutils for compilation:</para> 31 45 32 46 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 47 34 <para>Compile the package:</para>48 <para>Compile the package:</para> 35 49 36 50 <screen><userinput>make</userinput></screen> 37 51 38 <para>To test the results, issue: 39 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>.The40 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the41 test suite to run several additional tests that are considered42 relatively expensive (in terms of CPU power and memory usage) on some43 platforms, but generally are not a problem on Linux.</para>52 <para>To test the results, issue: 53 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The 54 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the 55 test suite to run several additional tests that are considered 56 relatively expensive (in terms of CPU power and memory usage) on some 57 platforms, but generally are not a problem on Linux.</para> 44 58 45 <para>Install the package:</para>59 <para>Install the package:</para> 46 60 47 61 <screen><userinput>make install</userinput></screen> 48 62 49 </sect2>63 </sect2> 50 64 51 <sect2 role="content"><title/> 52 <para>Details on this package are located in <xref 53 linkend="contents-coreutils" role="."/></para> 54 </sect2> 65 <sect2 role="content"> 66 <title/> 67 68 <para>Details on this package are located in 69 <xref linkend="contents-coreutils" role="."/></para> 70 71 </sect2> 55 72 56 73 </sect1> 57 -
chapter05/dejagnu.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-dejagnu" role="wrap"> 7 <title>DejaGNU-&dejagnu-version;</title> 8 <?dbhtml filename="dejagnu.html"?> 9 <?dbhtml filename="dejagnu.html"?> 9 10 10 <indexterm zone="ch-tools-dejagnu"><primary sortas="a-DejaGNU">DejaGNU</primary></indexterm>11 <title>DejaGNU-&dejagnu-version;</title> 11 12 12 <sect2 role="package"><title/> 13 <para>The DejaGNU package contains a framework for testing other programs.</para> 13 <indexterm zone="ch-tools-dejagnu"> 14 <primary sortas="a-DejaGNU">DejaGNU</primary> 15 </indexterm> 14 16 15 <segmentedlist> 16 <segtitle>&buildtime;</segtitle> 17 <segtitle>&diskspace;</segtitle> 18 <seglistitem><seg>0.1 SBU</seg><seg>6.1 MB</seg></seglistitem> 19 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 20 19 21 <segmentedlist> 22 <segtitle>&dependencies;</segtitle> 23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 24 GCC, Glibc, Grep, Make, and Sed</seg></seglistitem> 25 </segmentedlist> 26 </sect2> 20 <para>The DejaGNU package contains a framework for testing other 21 programs.</para> 27 22 28 <sect2 role="installation"> 29 <title>Installation of DejaGNU</title> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 30 26 31 <para>Prepare DejaGNU for compilation:</para> 27 <seglistitem> 28 <seg>0.1 SBU</seg> 29 <seg>6.1 MB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, 38 Make, and Sed</seg> 39 </seglistitem> 40 </segmentedlist> 41 42 </sect2> 43 44 <sect2 role="installation"> 45 <title>Installation of DejaGNU</title> 46 47 <para>Prepare DejaGNU for compilation:</para> 32 48 33 49 <screen><userinput>./configure --prefix=/tools</userinput></screen> 34 50 35 <para>Build and install the package:</para>51 <para>Build and install the package:</para> 36 52 37 53 <screen><userinput>make install</userinput></screen> 38 54 39 <para>To test the results, issue: <userinput>make check</userinput>.</para> 55 <para>To test the results, issue: 56 <userinput>make check</userinput>.</para> 40 57 41 </sect2>58 </sect2> 42 59 43 60 44 <sect2 id="contents-dejagnu" role="content"><title>Contents of DejaGNU</title> 61 <sect2 id="contents-dejagnu" role="content"> 62 <title>Contents of DejaGNU</title> 45 63 46 <segmentedlist> 47 <segtitle>Installed program</segtitle> 48 <seglistitem><seg>runtest</seg></seglistitem> 49 </segmentedlist> 64 <segmentedlist> 65 <segtitle>Installed program</segtitle> 50 66 51 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 52 <?dbfo list-presentation="list"?> 53 <?dbhtml list-presentation="table"?> 67 <seglistitem> 68 <seg>runtest</seg> 69 </seglistitem> 70 </segmentedlist> 54 71 55 <varlistentry id="runtest"> 56 <term><command>runtest</command></term> 57 <listitem> 58 <para>A wrapper script that locates the proper 59 <command>expect</command> shell and then runs DejaGNU</para> 60 <indexterm zone="ch-tools-dejagnu runtest"><primary sortas="b-runtest">runtest</primary></indexterm> 61 </listitem> 62 </varlistentry> 63 </variablelist> 72 <variablelist> 73 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 74 <?dbfo list-presentation="list"?> 75 <?dbhtml list-presentation="table"?> 64 76 65 </sect2> 77 <varlistentry id="runtest"> 78 <term><command>runtest</command></term> 79 <listitem> 80 <para>A wrapper script that locates the proper 81 <command>expect</command> shell and then runs DejaGNU</para> 82 <indexterm zone="ch-tools-dejagnu runtest"> 83 <primary sortas="b-runtest">runtest</primary> 84 </indexterm> 85 </listitem> 86 </varlistentry> 87 88 </variablelist> 89 90 </sect2> 66 91 67 92 </sect1> 68 -
chapter05/diffutils.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-diffutils" role="wrap"> 7 <title>Diffutils-&diffutils-version;</title> 8 <?dbhtml filename="diffutils.html"?> 9 <?dbhtml filename="diffutils.html"?> 9 10 10 <indexterm zone="ch-tools-diffutils"> 11 <primary sortas="a-Diffutils">Diffutils</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Diffutils-&diffutils-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-diffutils"> 14 <primary sortas="a-Diffutils">Diffutils</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.1 SBU</seg><seg>5.6 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/diffutils.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Diffutils</title> 29 <seglistitem> 30 <seg>0.1 SBU</seg> 31 <seg>5.6 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Prepare Diffutils for compilation:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/diffutils.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Diffutils</title> 43 44 <para>Prepare Diffutils for compilation:</para> 31 45 32 46 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 47 34 <para>Compile the package:</para>48 <para>Compile the package:</para> 35 49 36 50 <screen><userinput>make</userinput></screen> 37 51 38 <para>This package does not come with a test suite.</para>52 <para>This package does not come with a test suite.</para> 39 53 40 <para>Install the package:</para>54 <para>Install the package:</para> 41 55 42 56 <screen><userinput>make install</userinput></screen> 43 57 44 </sect2>58 </sect2> 45 59 46 <sect2 role="content"><title/> 47 <para>Details on this package are located in <xref 48 linkend="contents-diffutils" role="."/></para> 49 </sect2> 60 <sect2 role="content"> 61 <title/> 62 63 <para>Details on this package are located in 64 <xref linkend="contents-diffutils" role="."/></para> 65 66 </sect2> 50 67 51 68 </sect1> 52 -
chapter05/expect.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-expect" role="wrap"> 7 <title>Expect-&expect-version;</title> 8 <?dbhtml filename="expect.html"?> 9 <?dbhtml filename="expect.html"?> 9 10 10 <indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm>11 <title>Expect-&expect-version;</title> 11 12 12 <sect2 role="package"><title/>13 <para>The Expect package contains a program for carrying out scripted dialogues 14 with other interactive programs.</para>13 <indexterm zone="ch-tools-expect"> 14 <primary sortas="a-Expect">Expect</primary> 15 </indexterm> 15 16 16 <segmentedlist> 17 <segtitle>&buildtime;</segtitle> 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0.1 SBU</seg><seg>4.0 MB</seg></seglistitem> 20 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 21 19 22 <segmentedlist> 23 <segtitle>&dependencies;</segtitle> 24 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 25 GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem> 26 </segmentedlist> 27 </sect2> 20 <para>The Expect package contains a program for carrying out scripted 21 dialogues with other interactive programs.</para> 28 22 29 <sect2 role="installation"> 30 <title>Installation of Expect</title> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 31 26 32 <para>First, fix a bug that can result in false failures during the GCC test 33 suite run:</para> 27 <seglistitem> 28 <seg>0.1 SBU</seg> 29 <seg>4.0 MB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 38 Sed, and Tcl</seg> 39 </seglistitem> 40 </segmentedlist> 41 42 </sect2> 43 44 <sect2 role="installation"> 45 <title>Installation of Expect</title> 46 47 <para>First, fix a bug that can result in false failures during the GCC test 48 suite run:</para> 34 49 35 50 <screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen> 36 51 37 <para>Now prepare Expect for compilation:</para>52 <para>Now prepare Expect for compilation:</para> 38 53 39 54 <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \ 40 55 --with-tclinclude=/tools/include --with-x=no</userinput></screen> 41 56 42 <para>The meaning of the configure options:</para> 57 <variablelist> 58 <title>The meaning of the configure options:</title> 43 59 44 <variablelist> 45 <varlistentry> 46 <term><parameter>--with-tcl=/tools/lib</parameter></term> 47 <listitem><para>This ensures that the configure script finds the Tcl installation in 48 the temporary tools location instead of possibly locating an existing 49 one on the host system.</para></listitem> 50 </varlistentry> 60 <varlistentry> 61 <term><parameter>--with-tcl=/tools/lib</parameter></term> 62 <listitem> 63 <para>This ensures that the configure script finds the Tcl 64 installation in the temporary tools location instead of possibly 65 locating an existing one on the host system.</para> 66 </listitem> 67 </varlistentry> 51 68 52 <varlistentry> 53 <term><parameter>--with-tclinclude=/tools/include</parameter></term> 54 <listitem><para>This explicitly tells Expect where to find Tcl's internal headers. 55 Using this option avoids conditions where <command>configure</command> fails because 56 it cannot automatically discover the location of Tcl's headers.</para></listitem> 57 </varlistentry> 69 <varlistentry> 70 <term><parameter>--with-tclinclude=/tools/include</parameter></term> 71 <listitem> 72 <para>This explicitly tells Expect where to find Tcl's internal 73 headers. Using this option avoids conditions where 74 <command>configure</command> fails because it cannot automatically 75 discover the location of Tcl's headers.</para> 76 </listitem> 77 </varlistentry> 58 78 59 <varlistentry> 60 <term><parameter>--with-x=no</parameter></term> 61 <listitem><para>This tells the configure script not to search for Tk 62 (the Tcl GUI component) or the X Window System libraries, both of 63 which may reside on the host system but will not exist in the temporary 64 environment.</para></listitem> 65 </varlistentry> 66 </variablelist> 79 <varlistentry> 80 <term><parameter>--with-x=no</parameter></term> 81 <listitem> 82 <para>This tells the configure script not to search for Tk (the 83 Tcl GUI component) or the X Window System libraries, both of which 84 may reside on the host system but will not exist in the temporary 85 environment.</para> 86 </listitem> 87 </varlistentry> 67 88 68 <para>Build the package:</para> 89 </variablelist> 90 91 <para>Build the package:</para> 69 92 70 93 <screen><userinput>make</userinput></screen> 71 94 72 <para>To test the results, issue: <userinput>make test</userinput>.73 Note that the Expect test suite is known to experience failures under74 certain host conditions that are not within our control. Therefore,75 test suite failures here are not surprising and are not considered76 critical.</para>95 <para>To test the results, issue: <userinput>make test</userinput>. 96 Note that the Expect test suite is known to experience failures under 97 certain host conditions that are not within our control. Therefore, 98 test suite failures here are not surprising and are not considered 99 critical.</para> 77 100 78 <para>Install the package:</para>101 <para>Install the package:</para> 79 102 80 103 <screen><userinput>make SCRIPTS="" install</userinput></screen> 81 104 82 <para>The meaning of the make parameter:</para> 105 <variablelist> 106 <title>The meaning of the make parameter:</title> 83 107 84 <variablelist>85 <varlistentry>86 <term><parameter>SCRIPTS=""</parameter></term>87 <listitem><para>This prevents installation of the supplementary expect88 scripts, which are not needed.</para></listitem>89 </varlistentry>90 </variablelist>108 <varlistentry> 109 <term><parameter>SCRIPTS=""</parameter></term> 110 <listitem> 111 <para>This prevents installation of the supplementary Expect 112 scripts, which are not needed.</para> 113 </listitem> 114 </varlistentry> 91 115 92 </sect2>116 </variablelist> 93 117 94 <sect2 id="contents-expect" role="content"><title>Contents of Expect</title>118 </sect2> 95 119 96 <segmentedlist> 97 <segtitle>Installed program</segtitle> 98 <segtitle>Installed library</segtitle> 99 <seglistitem><seg>expect</seg><seg>libexpect-&expect-lib-version;.a</seg></seglistitem> 100 </segmentedlist> 120 <sect2 id="contents-expect" role="content"> 121 <title>Contents of Expect</title> 101 122 102 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>103 <?dbfo list-presentation="list"?>104 <?dbhtml list-presentation="table"?>123 <segmentedlist> 124 <segtitle>Installed program</segtitle> 125 <segtitle>Installed library</segtitle> 105 126 106 <varlistentry id="expect"> 107 <term><command>expect</command></term> 108 <listitem> 109 <para>Communicates with other interactive 110 programs according to a script</para> 111 <indexterm zone="ch-tools-expect expect"><primary sortas="b-expect">expect</primary></indexterm> 112 </listitem> 113 </varlistentry> 127 <seglistitem> 128 <seg>expect</seg> 129 <seg>libexpect-&expect-lib-version;.a</seg> 130 </seglistitem> 131 </segmentedlist> 114 132 115 <varlistentry id="libexpect"> 116 <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term> 117 <listitem> 118 <para>Contains functions that allow Expect to be used as a Tcl extension or to 119 be used directly from C or C++ (without Tcl)</para> 120 <indexterm zone="ch-tools-expect libexpect"><primary 121 sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary></indexterm> 122 </listitem> 123 </varlistentry> 124 </variablelist> 133 <variablelist> 134 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 135 <?dbfo list-presentation="list"?> 136 <?dbhtml list-presentation="table"?> 125 137 126 </sect2> 138 <varlistentry id="expect"> 139 <term><command>expect</command></term> 140 <listitem> 141 <para>Communicates with other interactive programs according 142 to a script</para> 143 <indexterm zone="ch-tools-expect expect"> 144 <primary sortas="b-expect">expect</primary> 145 </indexterm> 146 </listitem> 147 </varlistentry> 148 149 <varlistentry id="libexpect"> 150 <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term> 151 <listitem> 152 <para>Contains functions that allow Expect to be used as a Tcl 153 extension or to be used directly from C or C++ (without Tcl)</para> 154 <indexterm zone="ch-tools-expect libexpect"> 155 <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary> 156 </indexterm> 157 </listitem> 158 </varlistentry> 159 160 </variablelist> 161 162 </sect2> 127 163 128 164 </sect1> 129 -
chapter05/findutils.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-findutils" role="wrap"> 7 <title>Findutils-&findutils-version;</title> 8 <?dbhtml filename="findutils.html"?> 9 <?dbhtml filename="findutils.html"?> 9 10 10 <indexterm zone="ch-tools-findutils"> 11 <primary sortas="a-Findutils">Findutils</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Findutils-&findutils-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-findutils"> 14 <primary sortas="a-Findutils">Findutils</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.2 SBU</seg><seg>8.9 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/findutils.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Findutils</title> 29 <seglistitem> 30 <seg>0.2 SBU</seg> 31 <seg>8.9 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Prepare Findutils for compilation:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/findutils.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Findutils</title> 43 44 <para>Prepare Findutils for compilation:</para> 31 45 32 46 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 47 34 <para>Compile the package:</para>48 <para>Compile the package:</para> 35 49 36 50 <screen><userinput>make</userinput></screen> 37 51 38 <para>To test the results, issue: <userinput>make check</userinput>.</para> 52 <para>To test the results, issue: 53 <userinput>make check</userinput>.</para> 39 54 40 <para>Install the package:</para>55 <para>Install the package:</para> 41 56 42 57 <screen><userinput>make install</userinput></screen> 43 58 44 </sect2>59 </sect2> 45 60 46 <sect2 role="content"><title/> 47 <para>Details on this package are located in <xref 48 linkend="contents-findutils" role="."/></para> 49 </sect2> 61 <sect2 role="content"> 62 <title/> 63 64 <para>Details on this package are located in 65 <xref linkend="contents-findutils" role="."/></para> 66 67 </sect2> 50 68 51 69 </sect1> 52 -
chapter05/flex.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-flex" role="wrap"> 7 <title>Flex-&flex-version;</title> 8 <?dbhtml filename="flex.html"?> 9 <?dbhtml filename="flex.html"?> 9 10 10 <indexterm zone="ch-tools-flex"> 11 <primary sortas="a-Flex">Flex</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Flex-&flex-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-flex"> 14 <primary sortas="a-Flex">Flex</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.6 SBU</seg><seg>22.5 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/flex.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Flex</title> 29 <seglistitem> 30 <seg>0.6 SBU</seg> 31 <seg>22.5 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Flex contains several known bugs. These can be fixed with the 31 following patch:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/flex.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Flex</title> 43 44 <para>Flex contains several known bugs. These can be fixed with the 45 following patch:</para> 32 46 33 47 <screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> 34 48 35 <para>The GNU autotools will detect that the Flex source code has been36 modified by the previous patch and tries to update the man page37 accordingly. This does not work on many systems, and the default page is38 fine, so make sure it does not get regenerated:</para>49 <para>The GNU autotools will detect that the Flex source code has been 50 modified by the previous patch and tries to update the man page 51 accordingly. This does not work on many systems, and the default page is 52 fine, so make sure it does not get regenerated:</para> 39 53 40 54 <screen><userinput>touch doc/flex.1</userinput></screen> 41 55 42 <para>Now prepare Flex for compilation:</para>56 <para>Now prepare Flex for compilation:</para> 43 57 44 58 <screen><userinput>./configure --prefix=/tools</userinput></screen> 45 59 46 <para>Compile the package:</para>60 <para>Compile the package:</para> 47 61 48 62 <screen><userinput>make</userinput></screen> 49 63 50 <para>To test the results, issue:51 <userinput>make check</userinput>.</para>64 <para>To test the results, issue: 65 <userinput>make check</userinput>.</para> 52 66 53 <para>Install the package:</para>67 <para>Install the package:</para> 54 68 55 69 <screen><userinput>make install</userinput></screen> 56 70 57 </sect2>71 </sect2> 58 72 59 <sect2 role="content"><title/> 60 <para>Details on this package are located in <xref 61 linkend="contents-flex" role="."/></para> 62 </sect2> 73 <sect2 role="content"> 74 <title/> 75 76 <para>Details on this package are located in 77 <xref linkend="contents-flex" role="."/></para> 78 79 </sect2> 63 80 64 81 </sect1> 65 -
chapter05/gawk.xml
r81109e3 r09fb7a09 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-gawk" role="wrap"> 7 <title>Gawk-&gawk-version;</title> 8 <?dbhtml filename="gawk.html"?> 9 <?dbhtml filename="gawk.html"?> 9 10 10 <indexterm zone="ch-tools-gawk"> 11 <primary sortas="a-Gawk">Gawk</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Gawk-&gawk-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-gawk"> 14 <primary sortas="a-Gawk">Gawk</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/gawk.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Gawk</title> 29 <seglistitem> 30 <seg>0.2 SBU</seg> 31 <seg>16.4 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Prepare Gawk for compilation:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/gawk.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Gawk</title> 43 44 <para>Prepare Gawk for compilation:</para> 31 45 32 46 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 47 34 <para>Due to a bug in the <command>configure</command> script, Gawk fails 35 to detect certain aspects of locale support in Glibc. This 36 bug leads to, e.g., Gettext testsuite failures. Work around this issue 37 by appending the missing macro definitions to <filename>config.h</filename>:</para> 48 <para>Due to a bug in the <command>configure</command> script, Gawk fails 49 to detect certain aspects of locale support in Glibc. This bug leads to, 50 e.g., Gettext testsuite failures. Work around this issue by appending the 51 missing macro definitions to <filename>config.h</filename>:</para> 52 38 53 <screen><userinput>cat >>config.h <<"EOF" 39 54 <literal>#define HAVE_LANGINFO_CODESET 1 … … 41 56 EOF</userinput></screen> 42 57 43 <para>Compile the package:</para>58 <para>Compile the package:</para> 44 59 45 60 <screen><userinput>make</userinput></screen> 46 61 47 <para>To test the results, issue: <userinput>make check</userinput>.</para> 62 <para>To test the results, issue: 63 <userinput>make check</userinput>.</para> 48 64 49 <para>Install the package:</para>65 <para>Install the package:</para> 50 66 51 67 <screen><userinput>make install</userinput></screen> 52 68 53 </sect2>69 </sect2> 54 70 55 <sect2 role="content"><title/> 56 <para>Details on this package are located in <xref 57 linkend="contents-gawk" role="."/></para> 58 </sect2> 71 <sect2 role="content"> 72 <title/> 73 74 <para>Details on this package are located in 75 <xref linkend="contents-gawk" role="."/></para> 76 77 </sect2> 59 78 60 79 </sect1> 61
Note:
See TracChangeset
for help on using the changeset viewer.