2008-04-02 05:23:34 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY gperf-download-http "http://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
2008-04-09 23:40:36 +08:00
|
|
|
<!ENTITY gperf-download-ftp "ftp://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
2009-08-05 01:44:17 +08:00
|
|
|
<!ENTITY gperf-md5sum "c1f1db32fb6598d6a93e6e88796a8632">
|
|
|
|
<!ENTITY gperf-size "961 KB">
|
|
|
|
<!ENTITY gperf-buildsize "5 MB">
|
2008-04-09 23:40:36 +08:00
|
|
|
<!ENTITY gperf-time "less than 0.1 SBU">
|
2008-04-02 05:23:34 +08:00
|
|
|
]>
|
|
|
|
|
2008-04-09 23:40:36 +08:00
|
|
|
<sect1 id="gperf" xreflabel="Gperf-&gperf-version;">
|
2008-04-02 05:23:34 +08:00
|
|
|
<?dbhtml filename="gperf.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Gperf-&gperf-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gperf">
|
|
|
|
<primary sortas="a-Gperf">Gperf</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Gperf</title>
|
|
|
|
|
2008-04-09 23:40:36 +08:00
|
|
|
<para><application>Gperf</application> generates a perfect hash function
|
|
|
|
from a key set.</para>
|
2008-04-02 05:23:34 +08:00
|
|
|
|
2009-08-05 01:44:17 +08:00
|
|
|
&lfs65_checked;
|
|
|
|
|
2008-04-02 05:23:34 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&gperf-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&gperf-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &gperf-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &gperf-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &gperf-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &gperf-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gperf"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Gperf</title>
|
|
|
|
|
2008-04-09 23:40:36 +08:00
|
|
|
<para>Install <application>Gperf</application> by running the following
|
|
|
|
commands:</para>
|
2008-04-02 05:23:34 +08:00
|
|
|
|
2009-08-05 01:44:17 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version; &&
|
2008-04-02 05:23:34 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2008-04-09 23:40:36 +08:00
|
|
|
<para>If desired, create a text version of the documentation by issuing
|
|
|
|
the following command:</para>
|
|
|
|
|
|
|
|
<screen><userinput>makeinfo -o doc/gperf.txt --plaintext doc/gperf.texi</userinput></screen>
|
|
|
|
|
|
|
|
<para>To test the results, issue <command>make check</command>. There
|
|
|
|
should be no output from the <command>diff</command> commands.</para>
|
2008-04-02 05:23:34 +08:00
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -m644 -v doc/gperf.{dvi,ps,pdf,txt} /usr/share/doc/gperf-&gperf-version;</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2008-04-09 23:40:36 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><command>install -m644 -v doc/gperf.{dvi,ps,pdf,txt} ...</command>:
|
|
|
|
This command installs documentation. Modify the command (remove ',txt') if
|
|
|
|
you did not build the text version.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2008-04-02 05:23:34 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2009-08-05 01:44:17 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
2008-04-02 05:23:34 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2009-08-05 01:44:17 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
2008-04-02 05:23:34 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>gperf</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>/usr/share/doc/gperf-&gperf-version;</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="gperf-prog">
|
|
|
|
<term><command>gperf</command></term>
|
|
|
|
<listitem>
|
2008-04-09 23:40:36 +08:00
|
|
|
<para>generates a perfect hash function from a key set.</para>
|
2008-04-02 05:23:34 +08:00
|
|
|
<indexterm zone="gperf gperf-prog">
|
2009-08-05 01:44:17 +08:00
|
|
|
<primary sortas="b-gperf">gperf</primary>
|
2008-04-02 05:23:34 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|