LFS-systemd-7.8
[linux_from_scratch.git] / chapter06 / gperf.xml
blobce417439b50c525282fb2e10ea97dfaf54a586ef
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-gperf" role="wrap">
9   <?dbhtml filename="gperf.html"?>
11   <sect1info condition="script">
12     <productname>gperf</productname>
13     <productnumber>&gperf-version;</productnumber>
14     <address>&gperf-url;</address>
15   </sect1info>
17   <title>Gperf-&gperf-version;</title>
19   <indexterm zone="ch-system-gperf">
20     <primary sortas="a-Gperf">Gperf</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>Gperf generates a perfect hash function from a key set.</para>
28     <segmentedlist>
29       <segtitle>&buildtime;</segtitle>
30       <segtitle>&diskspace;</segtitle>
32       <seglistitem>
33         <seg>&gperf-ch6-sbu;</seg>
34         <seg>&gperf-ch6-du;</seg>
35       </seglistitem>
36     </segmentedlist>
38   </sect2>
40   <sect2 role="installation">
41     <title>Installation of Gperf</title>
43     <para>Prepare Gperf for compilation:</para>
45 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
47     <para>Compile the package:</para>
49 <screen><userinput remap="make">make</userinput></screen>
51     <para>The tests are known to fail if running multiple
52     simultaneous tests (-j option greater than 1). To test
53     the results, issue:</para>
55 <screen><userinput remap="test">make -j1 check</userinput></screen>
57     <para>Install the package:</para>
59 <screen><userinput remap="install">make install</userinput></screen>
61   </sect2>
63   <sect2 id="contents-gperf" role="content">
64     <title>Contents of Gperf</title>
66     <segmentedlist>
67       <segtitle>Installed program</segtitle>
69       <seglistitem>
70         <seg>gperf</seg>
71       </seglistitem>
72     </segmentedlist>
74     <variablelist>
75       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76       <?dbfo list-presentation="list"?>
77       <?dbhtml list-presentation="table"?>
79       <varlistentry id="gperf">
80         <term><command>gperf</command></term>
81         <listitem>
82           <para>Generates a perfect hash from a key set</para>
83           <indexterm zone="ch-system-gperf gperf">
84             <primary sortas="b-gperf">gperf</primary>
85           </indexterm>
86         </listitem>
87       </varlistentry>
89     </variablelist>
91   </sect2>
93 </sect1>