Indenting chapter 05, part 2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7281 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2006-01-17 20:43:10 +00:00
parent 81109e3ece
commit 09fb7a09f1
7 changed files with 426 additions and 284 deletions

View File

@ -1,57 +1,73 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-coreutils" role="wrap"> <sect1 id="ch-tools-coreutils" role="wrap">
<title>Coreutils-&coreutils-version;</title> <?dbhtml filename="coreutils.html"?>
<?dbhtml filename="coreutils.html"?>
<indexterm zone="ch-tools-coreutils"> <title>Coreutils-&coreutils-version;</title>
<primary sortas="a-Coreutils">Coreutils</primary>
<secondary>tools</secondary></indexterm>
<sect2 role="package"><title/> <indexterm zone="ch-tools-coreutils">
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <primary sortas="a-Coreutils">Coreutils</primary>
<secondary>tools</secondary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.9 SBU</seg><seg>53.3 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/coreutils.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
</sect2> <segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<sect2 role="installation"> <seglistitem>
<title>Installation of Coreutils</title> <seg>0.9 SBU</seg>
<seg>53.3 MB</seg>
</seglistitem>
</segmentedlist>
<para>Prepare Coreutils for compilation:</para> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/coreutils.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
</sect2>
<sect2 role="installation">
<title>Installation of Coreutils</title>
<para>Prepare Coreutils for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To test the results, issue: <para>To test the results, issue:
<userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
<parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
test suite to run several additional tests that are considered test suite to run several additional tests that are considered
relatively expensive (in terms of CPU power and memory usage) on some relatively expensive (in terms of CPU power and memory usage) on some
platforms, but generally are not a problem on Linux.</para> platforms, but generally are not a problem on Linux.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2 role="content"><title/> <sect2 role="content">
<para>Details on this package are located in <xref <title/>
linkend="contents-coreutils" role="."/></para>
</sect2> <para>Details on this package are located in
<xref linkend="contents-coreutils" role="."/></para>
</sect2>
</sect1> </sect1>

View File

@ -1,68 +1,92 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-dejagnu" role="wrap"> <sect1 id="ch-tools-dejagnu" role="wrap">
<title>DejaGNU-&dejagnu-version;</title> <?dbhtml filename="dejagnu.html"?>
<?dbhtml filename="dejagnu.html"?>
<indexterm zone="ch-tools-dejagnu"><primary sortas="a-DejaGNU">DejaGNU</primary></indexterm> <title>DejaGNU-&dejagnu-version;</title>
<sect2 role="package"><title/> <indexterm zone="ch-tools-dejagnu">
<para>The DejaGNU package contains a framework for testing other programs.</para> <primary sortas="a-DejaGNU">DejaGNU</primary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.1 SBU</seg><seg>6.1 MB</seg></seglistitem>
</segmentedlist>
<segmentedlist> <para>The DejaGNU package contains a framework for testing other
<segtitle>&dependencies;</segtitle> programs.</para>
<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation"> <segmentedlist>
<title>Installation of DejaGNU</title> <segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<para>Prepare DejaGNU for compilation:</para> <seglistitem>
<seg>0.1 SBU</seg>
<seg>6.1 MB</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
Make, and Sed</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of DejaGNU</title>
<para>Prepare DejaGNU for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Build and install the package:</para> <para>Build and install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
<para>To test the results, issue: <userinput>make check</userinput>.</para> <para>To test the results, issue:
<userinput>make check</userinput>.</para>
</sect2> </sect2>
<sect2 id="contents-dejagnu" role="content"><title>Contents of DejaGNU</title> <sect2 id="contents-dejagnu" role="content">
<title>Contents of DejaGNU</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed program</segtitle> <segtitle>Installed program</segtitle>
<seglistitem><seg>runtest</seg></seglistitem>
</segmentedlist>
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> <seglistitem>
<?dbfo list-presentation="list"?> <seg>runtest</seg>
<?dbhtml list-presentation="table"?> </seglistitem>
</segmentedlist>
<varlistentry id="runtest"> <variablelist>
<term><command>runtest</command></term> <bridgehead renderas="sect3">Short Descriptions</bridgehead>
<listitem> <?dbfo list-presentation="list"?>
<para>A wrapper script that locates the proper <?dbhtml list-presentation="table"?>
<command>expect</command> shell and then runs DejaGNU</para>
<indexterm zone="ch-tools-dejagnu runtest"><primary sortas="b-runtest">runtest</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2> <varlistentry id="runtest">
<term><command>runtest</command></term>
<listitem>
<para>A wrapper script that locates the proper
<command>expect</command> shell and then runs DejaGNU</para>
<indexterm zone="ch-tools-dejagnu runtest">
<primary sortas="b-runtest">runtest</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1> </sect1>

View File

@ -1,52 +1,68 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-diffutils" role="wrap"> <sect1 id="ch-tools-diffutils" role="wrap">
<title>Diffutils-&diffutils-version;</title> <?dbhtml filename="diffutils.html"?>
<?dbhtml filename="diffutils.html"?>
<indexterm zone="ch-tools-diffutils"> <title>Diffutils-&diffutils-version;</title>
<primary sortas="a-Diffutils">Diffutils</primary>
<secondary>tools</secondary></indexterm>
<sect2 role="package"><title/> <indexterm zone="ch-tools-diffutils">
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <primary sortas="a-Diffutils">Diffutils</primary>
<secondary>tools</secondary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.1 SBU</seg><seg>5.6 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/diffutils.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
</sect2> <segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<sect2 role="installation"> <seglistitem>
<title>Installation of Diffutils</title> <seg>0.1 SBU</seg>
<seg>5.6 MB</seg>
</seglistitem>
</segmentedlist>
<para>Prepare Diffutils for compilation:</para> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/diffutils.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
</sect2>
<sect2 role="installation">
<title>Installation of Diffutils</title>
<para>Prepare Diffutils for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>This package does not come with a test suite.</para> <para>This package does not come with a test suite.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2 role="content"><title/> <sect2 role="content">
<para>Details on this package are located in <xref <title/>
linkend="contents-diffutils" role="."/></para>
</sect2> <para>Details on this package are located in
<xref linkend="contents-diffutils" role="."/></para>
</sect2>
</sect1> </sect1>

View File

@ -1,129 +1,164 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-expect" role="wrap"> <sect1 id="ch-tools-expect" role="wrap">
<title>Expect-&expect-version;</title> <?dbhtml filename="expect.html"?>
<?dbhtml filename="expect.html"?>
<indexterm zone="ch-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm> <title>Expect-&expect-version;</title>
<sect2 role="package"><title/> <indexterm zone="ch-tools-expect">
<para>The Expect package contains a program for carrying out scripted dialogues <primary sortas="a-Expect">Expect</primary>
with other interactive programs.</para> </indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.1 SBU</seg><seg>4.0 MB</seg></seglistitem>
</segmentedlist>
<segmentedlist> <para>The Expect package contains a program for carrying out scripted
<segtitle>&dependencies;</segtitle> dialogues with other interactive programs.</para>
<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation"> <segmentedlist>
<title>Installation of Expect</title> <segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<para>First, fix a bug that can result in false failures during the GCC test <seglistitem>
suite run:</para> <seg>0.1 SBU</seg>
<seg>4.0 MB</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
Sed, and Tcl</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Expect</title>
<para>First, fix a bug that can result in false failures during the GCC test
suite run:</para>
<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen> <screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
<para>Now prepare Expect for compilation:</para> <para>Now prepare Expect for compilation:</para>
<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \ <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
--with-tclinclude=/tools/include --with-x=no</userinput></screen> --with-tclinclude=/tools/include --with-x=no</userinput></screen>
<para>The meaning of the configure options:</para> <variablelist>
<title>The meaning of the configure options:</title>
<variablelist> <varlistentry>
<varlistentry> <term><parameter>--with-tcl=/tools/lib</parameter></term>
<term><parameter>--with-tcl=/tools/lib</parameter></term> <listitem>
<listitem><para>This ensures that the configure script finds the Tcl installation in <para>This ensures that the configure script finds the Tcl
the temporary tools location instead of possibly locating an existing installation in the temporary tools location instead of possibly
one on the host system.</para></listitem> locating an existing one on the host system.</para>
</varlistentry> </listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--with-tclinclude=/tools/include</parameter></term> <term><parameter>--with-tclinclude=/tools/include</parameter></term>
<listitem><para>This explicitly tells Expect where to find Tcl's internal headers. <listitem>
Using this option avoids conditions where <command>configure</command> fails because <para>This explicitly tells Expect where to find Tcl's internal
it cannot automatically discover the location of Tcl's headers.</para></listitem> headers. Using this option avoids conditions where
</varlistentry> <command>configure</command> fails because it cannot automatically
discover the location of Tcl's headers.</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--with-x=no</parameter></term> <term><parameter>--with-x=no</parameter></term>
<listitem><para>This tells the configure script not to search for Tk <listitem>
(the Tcl GUI component) or the X Window System libraries, both of <para>This tells the configure script not to search for Tk (the
which may reside on the host system but will not exist in the temporary Tcl GUI component) or the X Window System libraries, both of which
environment.</para></listitem> may reside on the host system but will not exist in the temporary
</varlistentry> environment.</para>
</variablelist> </listitem>
</varlistentry>
<para>Build the package:</para> </variablelist>
<para>Build the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To test the results, issue: <userinput>make test</userinput>. <para>To test the results, issue: <userinput>make test</userinput>.
Note that the Expect test suite is known to experience failures under Note that the Expect test suite is known to experience failures under
certain host conditions that are not within our control. Therefore, certain host conditions that are not within our control. Therefore,
test suite failures here are not surprising and are not considered test suite failures here are not surprising and are not considered
critical.</para> critical.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make SCRIPTS="" install</userinput></screen> <screen><userinput>make SCRIPTS="" install</userinput></screen>
<para>The meaning of the make parameter:</para> <variablelist>
<title>The meaning of the make parameter:</title>
<variablelist> <varlistentry>
<varlistentry> <term><parameter>SCRIPTS=""</parameter></term>
<term><parameter>SCRIPTS=""</parameter></term> <listitem>
<listitem><para>This prevents installation of the supplementary expect <para>This prevents installation of the supplementary Expect
scripts, which are not needed.</para></listitem> scripts, which are not needed.</para>
</varlistentry> </listitem>
</variablelist> </varlistentry>
</sect2> </variablelist>
<sect2 id="contents-expect" role="content"><title>Contents of Expect</title> </sect2>
<segmentedlist> <sect2 id="contents-expect" role="content">
<segtitle>Installed program</segtitle> <title>Contents of Expect</title>
<segtitle>Installed library</segtitle>
<seglistitem><seg>expect</seg><seg>libexpect-&expect-lib-version;.a</seg></seglistitem>
</segmentedlist>
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> <segmentedlist>
<?dbfo list-presentation="list"?> <segtitle>Installed program</segtitle>
<?dbhtml list-presentation="table"?> <segtitle>Installed library</segtitle>
<varlistentry id="expect"> <seglistitem>
<term><command>expect</command></term> <seg>expect</seg>
<listitem> <seg>libexpect-&expect-lib-version;.a</seg>
<para>Communicates with other interactive </seglistitem>
programs according to a script</para> </segmentedlist>
<indexterm zone="ch-tools-expect expect"><primary sortas="b-expect">expect</primary></indexterm>
</listitem>
</varlistentry>
<varlistentry id="libexpect"> <variablelist>
<term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term> <bridgehead renderas="sect3">Short Descriptions</bridgehead>
<listitem> <?dbfo list-presentation="list"?>
<para>Contains functions that allow Expect to be used as a Tcl extension or to <?dbhtml list-presentation="table"?>
be used directly from C or C++ (without Tcl)</para>
<indexterm zone="ch-tools-expect libexpect"><primary
sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2> <varlistentry id="expect">
<term><command>expect</command></term>
<listitem>
<para>Communicates with other interactive programs according
to a script</para>
<indexterm zone="ch-tools-expect expect">
<primary sortas="b-expect">expect</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libexpect">
<term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
<listitem>
<para>Contains functions that allow Expect to be used as a Tcl
extension or to be used directly from C or C++ (without Tcl)</para>
<indexterm zone="ch-tools-expect libexpect">
<primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1> </sect1>

View File

@ -1,52 +1,69 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-findutils" role="wrap"> <sect1 id="ch-tools-findutils" role="wrap">
<title>Findutils-&findutils-version;</title> <?dbhtml filename="findutils.html"?>
<?dbhtml filename="findutils.html"?>
<indexterm zone="ch-tools-findutils"> <title>Findutils-&findutils-version;</title>
<primary sortas="a-Findutils">Findutils</primary>
<secondary>tools</secondary></indexterm>
<sect2 role="package"><title/> <indexterm zone="ch-tools-findutils">
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <primary sortas="a-Findutils">Findutils</primary>
<secondary>tools</secondary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.2 SBU</seg><seg>8.9 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/findutils.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
</sect2> <segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<sect2 role="installation"> <seglistitem>
<title>Installation of Findutils</title> <seg>0.2 SBU</seg>
<seg>8.9 MB</seg>
</seglistitem>
</segmentedlist>
<para>Prepare Findutils for compilation:</para> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/findutils.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
</sect2>
<sect2 role="installation">
<title>Installation of Findutils</title>
<para>Prepare Findutils for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To test the results, issue: <userinput>make check</userinput>.</para> <para>To test the results, issue:
<userinput>make check</userinput>.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2 role="content"><title/> <sect2 role="content">
<para>Details on this package are located in <xref <title/>
linkend="contents-findutils" role="."/></para>
</sect2> <para>Details on this package are located in
<xref linkend="contents-findutils" role="."/></para>
</sect2>
</sect1> </sect1>

View File

@ -1,65 +1,81 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-flex" role="wrap"> <sect1 id="ch-tools-flex" role="wrap">
<title>Flex-&flex-version;</title> <?dbhtml filename="flex.html"?>
<?dbhtml filename="flex.html"?>
<indexterm zone="ch-tools-flex"> <title>Flex-&flex-version;</title>
<primary sortas="a-Flex">Flex</primary>
<secondary>tools</secondary></indexterm>
<sect2 role="package"><title/> <indexterm zone="ch-tools-flex">
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <primary sortas="a-Flex">Flex</primary>
<secondary>tools</secondary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.6 SBU</seg><seg>22.5 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/flex.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/flex.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
</sect2> <segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<sect2 role="installation"> <seglistitem>
<title>Installation of Flex</title> <seg>0.6 SBU</seg>
<seg>22.5 MB</seg>
</seglistitem>
</segmentedlist>
<para>Flex contains several known bugs. These can be fixed with the <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
following patch:</para> href="../chapter06/flex.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
</sect2>
<sect2 role="installation">
<title>Installation of Flex</title>
<para>Flex contains several known bugs. These can be fixed with the
following patch:</para>
<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> <screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
<para>The GNU autotools will detect that the Flex source code has been <para>The GNU autotools will detect that the Flex source code has been
modified by the previous patch and tries to update the man page modified by the previous patch and tries to update the man page
accordingly. This does not work on many systems, and the default page is accordingly. This does not work on many systems, and the default page is
fine, so make sure it does not get regenerated:</para> fine, so make sure it does not get regenerated:</para>
<screen><userinput>touch doc/flex.1</userinput></screen> <screen><userinput>touch doc/flex.1</userinput></screen>
<para>Now prepare Flex for compilation:</para> <para>Now prepare Flex for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To test the results, issue: <para>To test the results, issue:
<userinput>make check</userinput>.</para> <userinput>make check</userinput>.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2 role="content"><title/> <sect2 role="content">
<para>Details on this package are located in <xref <title/>
linkend="contents-flex" role="."/></para>
</sect2> <para>Details on this package are located in
<xref linkend="contents-flex" role="."/></para>
</sect2>
</sect1> </sect1>

View File

@ -1,61 +1,79 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-tools-gawk" role="wrap"> <sect1 id="ch-tools-gawk" role="wrap">
<title>Gawk-&gawk-version;</title> <?dbhtml filename="gawk.html"?>
<?dbhtml filename="gawk.html"?>
<indexterm zone="ch-tools-gawk"> <title>Gawk-&gawk-version;</title>
<primary sortas="a-Gawk">Gawk</primary>
<secondary>tools</secondary></indexterm>
<sect2 role="package"><title/> <indexterm zone="ch-tools-gawk">
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <primary sortas="a-Gawk">Gawk</primary>
<secondary>tools</secondary>
</indexterm>
<segmentedlist> <sect2 role="package">
<segtitle>&buildtime;</segtitle> <title/>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/gawk.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
</sect2> <segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<sect2 role="installation"> <seglistitem>
<title>Installation of Gawk</title> <seg>0.2 SBU</seg>
<seg>16.4 MB</seg>
</seglistitem>
</segmentedlist>
<para>Prepare Gawk for compilation:</para> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../chapter06/gawk.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
</sect2>
<sect2 role="installation">
<title>Installation of Gawk</title>
<para>Prepare Gawk for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen> <screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Due to a bug in the <command>configure</command> script, Gawk fails <para>Due to a bug in the <command>configure</command> script, Gawk fails
to detect certain aspects of locale support in Glibc. This to detect certain aspects of locale support in Glibc. This bug leads to,
bug leads to, e.g., Gettext testsuite failures. Work around this issue e.g., Gettext testsuite failures. Work around this issue by appending the
by appending the missing macro definitions to <filename>config.h</filename>:</para> missing macro definitions to <filename>config.h</filename>:</para>
<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF" <screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
<literal>#define HAVE_LANGINFO_CODESET 1 <literal>#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1</literal> #define HAVE_LC_MESSAGES 1</literal>
EOF</userinput></screen> EOF</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To test the results, issue: <userinput>make check</userinput>.</para> <para>To test the results, issue:
<userinput>make check</userinput>.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2 role="content"><title/> <sect2 role="content">
<para>Details on this package are located in <xref <title/>
linkend="contents-gawk" role="."/></para>
</sect2> <para>Details on this package are located in
<xref linkend="contents-gawk" role="."/></para>
</sect2>
</sect1> </sect1>