[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 |
|
---|
[331222f0] | 7 | <!ENTITY popt-download-http "http://ftp.rpm.org/popt/releases/popt-1.x/popt-&popt-version;.tar.gz">
|
---|
[4dbbc0a9] | 8 | <!ENTITY popt-download-ftp "ftp://ftp.rpm.org/pub/rpm/popt/releases/popt-1.x/popt-&popt-version;.tar.gz">
|
---|
[331222f0] | 9 | <!ENTITY popt-md5sum "eaa2135fddb6eb03f2c87ee1823e5a78">
|
---|
| 10 | <!ENTITY popt-size "584 kB">
|
---|
| 11 | <!ENTITY popt-buildsize "6.9 MB (includes installing documentation and tests)">
|
---|
| 12 | <!ENTITY popt-time "less than 0.1 SBU (with tests)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="popt" xreflabel="popt-&popt-version;">
|
---|
[36f0d75] | 16 | <?dbhtml filename="popt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
| 18 |
|
---|
[b3da5f2c] | 19 | <title>Popt-&popt-version;</title>
|
---|
[8e75f8b9] | 20 |
|
---|
[36f0d75] | 21 | <indexterm zone="popt">
|
---|
| 22 | <primary sortas="a-Popt">Popt</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Popt</title>
|
---|
[8e75f8b9] | 27 |
|
---|
[d56e7df] | 28 | <para>
|
---|
| 29 | The <application>popt</application> package contains the
|
---|
| 30 | <application>popt</application> libraries which are used by
|
---|
| 31 | some programs to parse command-line options.
|
---|
| 32 | </para>
|
---|
[8e75f8b9] | 33 |
|
---|
[9c87711] | 34 | &lfs113_checked;
|
---|
[bd32b6fd] | 35 |
|
---|
[36f0d75] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[d56e7df] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&popt-download-http;"/>
|
---|
| 41 | </para>
|
---|
[36f0d75] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[d56e7df] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&popt-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[36f0d75] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[d56e7df] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &popt-md5sum;
|
---|
| 51 | </para>
|
---|
[36f0d75] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[d56e7df] | 54 | <para>
|
---|
| 55 | Download size: &popt-size;
|
---|
| 56 | </para>
|
---|
[36f0d75] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[d56e7df] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &popt-buildsize;
|
---|
| 61 | </para>
|
---|
[36f0d75] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[d56e7df] | 64 | <para>
|
---|
| 65 | Estimated build time: &popt-time;
|
---|
| 66 | </para>
|
---|
[36f0d75] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[8e75f8b9] | 69 |
|
---|
[40454cd2] | 70 | <bridgehead renderas="sect3">popt Dependencies</bridgehead>
|
---|
[f8888e6] | 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[40454cd2] | 73 | <para role="optional">
|
---|
| 74 | <xref linkend="doxygen"/> (for generating documentation)
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
[1039de3] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 79 |
|
---|
[36f0d75] | 80 | </sect2>
|
---|
[8e75f8b9] | 81 |
|
---|
[36f0d75] | 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of Popt</title>
|
---|
| 84 |
|
---|
[d56e7df] | 85 | <para>
|
---|
| 86 | Install <application>popt</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
[36f0d75] | 89 |
|
---|
[e43015c] | 90 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[36f0d75] | 91 | make</userinput></screen>
|
---|
[8e75f8b9] | 92 |
|
---|
[d56e7df] | 93 | <para>
|
---|
| 94 | If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 95 | the API documentation, issue:
|
---|
| 96 | </para>
|
---|
[a42c273] | 97 |
|
---|
[4dbbc0a9] | 98 | <screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &&
|
---|
| 99 | doxygen</userinput></screen>
|
---|
[189885b] | 100 |
|
---|
[d56e7df] | 101 | <para>
|
---|
| 102 | To test the results, issue: <command>make check</command>.
|
---|
| 103 | </para>
|
---|
[58ff87a] | 104 |
|
---|
[d56e7df] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[8e75f8b9] | 108 |
|
---|
[f8888e6] | 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 110 |
|
---|
[d56e7df] | 111 | <para>
|
---|
| 112 | If you built the API documentation, install it using the following
|
---|
| 113 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 114 | user:
|
---|
| 115 | </para>
|
---|
[189885b] | 116 |
|
---|
[a42c273] | 117 | <screen role="root"
|
---|
| 118 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
[189885b] | 119 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 120 |
|
---|
[36f0d75] | 121 | </sect2>
|
---|
[8e75f8b9] | 122 |
|
---|
[e43015c] | 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 127 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 128 |
|
---|
[f8888e6] | 129 | <!-- FIXME Removed due to merged-/usr changes
|
---|
[756a787] | 130 | <para>
|
---|
| 131 | <command>mv /usr/lib/libpopt.so.* /lib</command> and
|
---|
| 132 | <command>ln -sfv ...</command>: Moves the popt library on the root
|
---|
[2c87187] | 133 | filesystem, so it is available in case
|
---|
[756a787] | 134 | <systemitem class="filesystem">/usr</systemitem> is offline and
|
---|
| 135 | <xref linkend="efibootmgr"/> is installed and linked to popt.
|
---|
| 136 | </para>
|
---|
[f8888e6] | 137 | -->
|
---|
[756a787] | 138 |
|
---|
[e43015c] | 139 | </sect2>
|
---|
| 140 |
|
---|
[36f0d75] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Library</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 148 |
|
---|
[36f0d75] | 149 | <seglistitem>
|
---|
| 150 | <seg>None</seg>
|
---|
[bc14bd2c] | 151 | <seg>libpopt.so</seg>
|
---|
[189885b] | 152 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
[8e75f8b9] | 155 |
|
---|
[36f0d75] | 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 159 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 160 |
|
---|
[36f0d75] | 161 | <varlistentry id="libpopt">
|
---|
[4c24eb0a] | 162 | <term><filename class="libraryfile">libpopt.so</filename></term>
|
---|
[36f0d75] | 163 | <listitem>
|
---|
[d56e7df] | 164 | <para>
|
---|
[4c24eb0a] | 165 | is used to parse command-line options
|
---|
[d56e7df] | 166 | </para>
|
---|
[36f0d75] | 167 | <indexterm zone="popt libpopt">
|
---|
[bc14bd2c] | 168 | <primary sortas="c-libpopt">libpopt.so</primary>
|
---|
[36f0d75] | 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
[f45b1953] | 175 |
|
---|
| 176 | </sect1>
|
---|