Apply a change to allow Perl to build correctly when
[linux_from_scratch.git] / chapter06 / xml-parser.xml
blob54d5bcb359a36e83e6ded61f9257f0cfe390ffc3
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
8 <sect1 id="ch-system-xml-parser" role="wrap">
9   <?dbhtml filename="xml-parser.html"?>
11   <sect1info condition="script">
12     <productname>xml-parser</productname>
13     <productnumber>&xml-parser-version;</productnumber>
14     <address>&xml-parser-url;</address>
15   </sect1info>
17   <title>XML::Parser-&xml-parser-version;</title>
19   <indexterm zone="ch-system-xml-parser">
20     <primary sortas="a-Xml-Parser">XML::Parser</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The XML::Parser module is a Perl interface to James Clark's
27     XML parser, Expat.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&xml-parser-ch6-sbu;</seg>
35         <seg>&xml-parser-ch6-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of XML::Parser</title>
44     <para>Prepare XML::Parser for compilation:</para>
46 <screen><userinput remap="configure">perl Makefile.PL</userinput></screen>
48     <para>Compile the package:</para>
50 <screen><userinput remap="make">make</userinput></screen>
52     <para>To test the results, issue:</para>
54 <screen><userinput remap="test">make test</userinput></screen>
56     <para>Install the package:</para>
58 <screen><userinput remap="install">make install</userinput></screen>
60   </sect2>
62   <sect2 id="contents-xml-parser" role="content">
63     <title>Contents of XML::Parser</title>
65     <segmentedlist>
66       <segtitle>Installed module</segtitle>
68       <seglistitem>
69         <seg>Expat.so</seg>
70       </seglistitem>
71     </segmentedlist>
73     <variablelist>
74       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
75       <?dbfo list-presentation="list"?>
76       <?dbhtml list-presentation="table"?>
78       <varlistentry id="Expat">
79         <term><filename class="libraryfile">Expat</filename></term>
80         <listitem>
81           <para>provides the Perl Expat interface</para>
82           <indexterm zone="ch-system-xml-parser Expat">
83             <primary sortas="c-Expat">Expat</primary>
84           </indexterm>
85         </listitem>
86       </varlistentry>
88     </variablelist>
90   </sect2>
92 </sect1>