[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9d0dd692] | 7 | <!ENTITY popt-download-http "http://rpm5.org/files/popt/popt-&popt-version;.tar.gz">
|
---|
[d0151ee] | 8 | <!ENTITY popt-download-ftp "&sources-anduin-ftp;/p/popt-&popt-version;.tar.gz">
|
---|
[5c8897e] | 9 | <!ENTITY popt-md5sum "3743beefa3dd6247a73f8f7a32c14c33">
|
---|
| 10 | <!ENTITY popt-size "702 kB">
|
---|
| 11 | <!ENTITY popt-buildsize "8 MB (includes installing documentation)">
|
---|
[8bc5636f] | 12 | <!ENTITY popt-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="popt" xreflabel="popt-&popt-version;">
|
---|
[36f0d75] | 16 | <?dbhtml filename="popt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[36f0d75] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[b3da5f2c] | 23 | <title>Popt-&popt-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[36f0d75] | 25 | <indexterm zone="popt">
|
---|
| 26 | <primary sortas="a-Popt">Popt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Popt</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[74390482] | 32 | <para>The <application>popt</application> package contains the
|
---|
[36f0d75] | 33 | <application>popt</application> libraries which are used by
|
---|
| 34 | some programs to parse command-line options.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[fd4dbec] | 36 | &lfs75_checked;
|
---|
[bd32b6fd] | 37 |
|
---|
[36f0d75] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &popt-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &popt-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &popt-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &popt-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[8e75f8b9] | 59 |
|
---|
[1039de3] | 60 | <para condition="html" role="usernotes">User Notes:
|
---|
| 61 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 62 |
|
---|
[36f0d75] | 63 | </sect2>
|
---|
[8e75f8b9] | 64 |
|
---|
[36f0d75] | 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of Popt</title>
|
---|
| 67 |
|
---|
[74390482] | 68 | <para>Install <application>popt</application> by running the following
|
---|
[36f0d75] | 69 | commands:</para>
|
---|
| 70 |
|
---|
[e43015c] | 71 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[36f0d75] | 72 | make</userinput></screen>
|
---|
[8e75f8b9] | 73 |
|
---|
[189885b] | 74 | <para>If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 75 | the API documentation, issue <command>doxygen</command>.</para>
|
---|
| 76 |
|
---|
[dfff8213] | 77 | <para>To test the results, issue:<command>make check</command>.</para>
|
---|
[58ff87a] | 78 |
|
---|
[36f0d75] | 79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 80 |
|
---|
[36f0d75] | 81 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 82 |
|
---|
[189885b] | 83 | <para>If you built the API documentation, install it using the following
|
---|
| 84 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 85 | user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
| 88 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 89 |
|
---|
[36f0d75] | 90 | </sect2>
|
---|
[8e75f8b9] | 91 |
|
---|
[e43015c] | 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 96 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
[36f0d75] | 100 | <sect2 role="content">
|
---|
| 101 | <title>Contents</title>
|
---|
| 102 |
|
---|
| 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed Programs</segtitle>
|
---|
| 105 | <segtitle>Installed Library</segtitle>
|
---|
| 106 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 107 |
|
---|
[36f0d75] | 108 | <seglistitem>
|
---|
| 109 | <seg>None</seg>
|
---|
[bc14bd2c] | 110 | <seg>libpopt.so</seg>
|
---|
[189885b] | 111 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 112 | </seglistitem>
|
---|
| 113 | </segmentedlist>
|
---|
[8e75f8b9] | 114 |
|
---|
[36f0d75] | 115 | <variablelist>
|
---|
| 116 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 117 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 118 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 119 |
|
---|
[36f0d75] | 120 | <varlistentry id="libpopt">
|
---|
[bc14bd2c] | 121 | <term><filename role='library'>libpopt.so</filename></term>
|
---|
[36f0d75] | 122 | <listitem>
|
---|
| 123 | <para> is used to parse command-line options.</para>
|
---|
| 124 | <indexterm zone="popt libpopt">
|
---|
[bc14bd2c] | 125 | <primary sortas="c-libpopt">libpopt.so</primary>
|
---|
[36f0d75] | 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 | </variablelist>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
[f45b1953] | 132 |
|
---|
| 133 | </sect1>
|
---|