Tag LFS-7.9-systemd-rc2
[linux_from_scratch.git] / chapter06 / gperf.xml
blobd8c5b65949041bc3ad49659ee1ec47a27c4e92e3
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>
68       <segtitle>Installed directory</segtitle>
70       <seglistitem>
71         <seg>gperf</seg>
72         <seg>/usr/share/doc/gperf-&gperf-version;</seg>
73       </seglistitem>
74     </segmentedlist>
76     <variablelist>
77       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78       <?dbfo list-presentation="list"?>
79       <?dbhtml list-presentation="table"?>
81       <varlistentry id="gperf">
82         <term><command>gperf</command></term>
83         <listitem>
84           <para>Generates a perfect hash from a key set</para>
85           <indexterm zone="ch-system-gperf gperf">
86             <primary sortas="b-gperf">gperf</primary>
87           </indexterm>
88         </listitem>
89       </varlistentry>
91     </variablelist>
93   </sect2>
95 </sect1>