[b37f8d03] | 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 |
|
---|
| 7 | <!ENTITY gperf-download-http "http://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
---|
[32d0e29] | 8 | <!ENTITY gperf-download-ftp "ftp://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
---|
| 9 | <!ENTITY gperf-md5sum "cc20e58975a38075440423c8fb85fd00">
|
---|
| 10 | <!ENTITY gperf-size "866 KB">
|
---|
| 11 | <!ENTITY gperf-buildsize "4 MB">
|
---|
| 12 | <!ENTITY gperf-time "less than 0.1 SBU">
|
---|
[b37f8d03] | 13 | ]>
|
---|
| 14 |
|
---|
[32d0e29] | 15 | <sect1 id="gperf" xreflabel="Gperf-&gperf-version;">
|
---|
[b37f8d03] | 16 | <?dbhtml filename="gperf.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Gperf-&gperf-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gperf">
|
---|
| 26 | <primary sortas="a-Gperf">Gperf</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Gperf</title>
|
---|
| 31 |
|
---|
[32d0e29] | 32 | <para><application>Gperf</application> generates a perfect hash function
|
---|
| 33 | from a key set.</para>
|
---|
[b37f8d03] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&gperf-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&gperf-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &gperf-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &gperf-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &gperf-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &gperf-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <para condition="html" role="usernotes">User Notes:
|
---|
| 58 | <ulink url="&blfs-wiki;/gperf"/></para>
|
---|
| 59 |
|
---|
| 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2 role="installation">
|
---|
| 63 | <title>Installation of Gperf</title>
|
---|
| 64 |
|
---|
[32d0e29] | 65 | <para>Install <application>Gperf</application> by running the following
|
---|
| 66 | commands:</para>
|
---|
[b37f8d03] | 67 |
|
---|
| 68 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 69 | make</userinput></screen>
|
---|
| 70 |
|
---|
[32d0e29] | 71 | <para>If desired, create a text version of the documentation by issuing
|
---|
| 72 | the following command:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput>makeinfo -o doc/gperf.txt --plaintext doc/gperf.texi</userinput></screen>
|
---|
| 75 |
|
---|
| 76 | <para>To test the results, issue <command>make check</command>. There
|
---|
| 77 | should be no output from the <command>diff</command> commands.</para>
|
---|
[b37f8d03] | 78 |
|
---|
| 79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 80 |
|
---|
| 81 | <screen role="root"><userinput>make install &&
|
---|
| 82 | install -v -m755 -d /usr/share/doc/gperf-&gperf-version; &&
|
---|
| 83 | install -m644 -v doc/gperf.{dvi,ps,pdf,txt} /usr/share/doc/gperf-&gperf-version;</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
[32d0e29] | 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
| 90 | <para><command>install -m644 -v doc/gperf.{dvi,ps,pdf,txt} ...</command>:
|
---|
| 91 | This command installs documentation. Modify the command (remove ',txt') if
|
---|
| 92 | you did not build the text version.</para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
[b37f8d03] | 96 | <sect2 role="content">
|
---|
| 97 | <title>Contents</title>
|
---|
| 98 |
|
---|
| 99 | <segmentedlist>
|
---|
| 100 | <segtitle>Installed Programs</segtitle>
|
---|
| 101 | <segtitle>Installed Libraries</segtitle>
|
---|
| 102 | <segtitle>Installed Directories</segtitle>
|
---|
| 103 |
|
---|
| 104 | <seglistitem>
|
---|
| 105 | <seg>gperf</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
| 107 | <seg>/usr/share/doc/gperf-&gperf-version;</seg>
|
---|
| 108 | </seglistitem>
|
---|
| 109 | </segmentedlist>
|
---|
| 110 |
|
---|
| 111 | <variablelist>
|
---|
| 112 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 113 | <?dbfo list-presentation="list"?>
|
---|
| 114 | <?dbhtml list-presentation="table"?>
|
---|
| 115 |
|
---|
| 116 | <varlistentry id="gperf-prog">
|
---|
| 117 | <term><command>gperf</command></term>
|
---|
| 118 | <listitem>
|
---|
[32d0e29] | 119 | <para>generates a perfect hash function from a key set.</para>
|
---|
[b37f8d03] | 120 | <indexterm zone="gperf gperf-prog">
|
---|
[32d0e29] | 121 | <primary sortas="g-gperf">gperf</primary>
|
---|
[b37f8d03] | 122 | </indexterm>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | </variablelist>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | </sect1>
|
---|