12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!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;
- ]>
- <sect1 id="ch-system-gperf" role="wrap">
- <?dbhtml filename="gperf.html"?>
- <sect1info condition="script">
- <productname>gperf</productname>
- <productnumber>&gperf-version;</productnumber>
- <address>&gperf-url;</address>
- </sect1info>
- <title>Gperf-&gperf-version;</title>
- <indexterm zone="ch-system-gperf">
- <primary sortas="a-Gperf">Gperf</primary>
- </indexterm>
- <sect2 role="package">
- <title/>
- <para>Gperf 根据一组键值,生成完美散列函数。</para>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
- <seglistitem>
- <seg>&gperf-ch6-sbu;</seg>
- <seg>&gperf-ch6-du;</seg>
- </seglistitem>
- </segmentedlist>
- </sect2>
- <sect2 role="installation">
- <title>安装 Gperf</title>
- <para>准备安装 Gperf:</para>
- <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
- <para>编译该软件包:</para>
- <screen><userinput remap="make">make</userinput></screen>
- <para>已知同时执行多个测试(-j 选项的值大于 1)会导致测试失败。
- 执行以下命令测试编译结果:</para>
- <screen><userinput remap="test">make -j1 check</userinput></screen>
- <para>安装该软件包:</para>
- <screen><userinput remap="install">make install</userinput></screen>
- </sect2>
- <sect2 id="contents-gperf" role="content">
- <title>Gperf 的内容</title>
- <segmentedlist>
- <segtitle>安装的程序</segtitle>
- <segtitle>安装的目录</segtitle>
- <seglistitem>
- <seg>gperf</seg>
- <seg>/usr/share/doc/gperf-&gperf-version;</seg>
- </seglistitem>
- </segmentedlist>
- <variablelist>
- <bridgehead renderas="sect3">简要描述</bridgehead>
- <?dbfo list-presentation="list"?>
- <?dbhtml list-presentation="table"?>
- <varlistentry id="gperf">
- <term><command>gperf</command></term>
- <listitem>
- <para>根据键值集合生成完美散列函数</para>
- <indexterm zone="ch-system-gperf gperf">
- <primary sortas="b-gperf">gperf</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- </variablelist>
- </sect2>
- </sect1>
|