[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 |
|
---|
[e0dfa83] | 36 | &lfs71_checked;
|
---|
| 37 |
|
---|
| 38 | <note><para>Popt is now part of LFS. If you are using a system which includes it,
|
---|
| 39 | there is nothing more to do. If not (e.g. LFS releases up to and including 7.1),
|
---|
| 40 | you should follow these instructions.</para></note>
|
---|
[bd32b6fd] | 41 |
|
---|
[36f0d75] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &popt-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &popt-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &popt-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &popt-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
[8e75f8b9] | 63 |
|
---|
[1039de3] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
| 65 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 66 |
|
---|
[36f0d75] | 67 | </sect2>
|
---|
[8e75f8b9] | 68 |
|
---|
[36f0d75] | 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Popt</title>
|
---|
| 71 |
|
---|
[74390482] | 72 | <para>Install <application>popt</application> by running the following
|
---|
[36f0d75] | 73 | commands:</para>
|
---|
| 74 |
|
---|
[b834dfc7] | 75 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[36f0d75] | 76 | make</userinput></screen>
|
---|
[8e75f8b9] | 77 |
|
---|
[189885b] | 78 | <para>If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 79 | the API documentation, issue <command>doxygen</command>.</para>
|
---|
| 80 |
|
---|
[2f7d86f] | 81 | <para>To test the results, issue:</para>
|
---|
[6473e74] | 82 |
|
---|
[b3da5f2c] | 83 | <screen><userinput>make check</userinput></screen>
|
---|
[58ff87a] | 84 |
|
---|
[36f0d75] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 86 |
|
---|
[36f0d75] | 87 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 88 |
|
---|
[189885b] | 89 | <para>If you built the API documentation, install it using the following
|
---|
| 90 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 91 | user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
| 94 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 95 |
|
---|
[36f0d75] | 96 | </sect2>
|
---|
[8e75f8b9] | 97 |
|
---|
[36f0d75] | 98 | <sect2 role="content">
|
---|
| 99 | <title>Contents</title>
|
---|
| 100 |
|
---|
| 101 | <segmentedlist>
|
---|
| 102 | <segtitle>Installed Programs</segtitle>
|
---|
| 103 | <segtitle>Installed Library</segtitle>
|
---|
| 104 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 105 |
|
---|
[36f0d75] | 106 | <seglistitem>
|
---|
| 107 | <seg>None</seg>
|
---|
[1039de3] | 108 | <seg>libpopt.{so,a}</seg>
|
---|
[189885b] | 109 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
[8e75f8b9] | 112 |
|
---|
[36f0d75] | 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 116 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 117 |
|
---|
[36f0d75] | 118 | <varlistentry id="libpopt">
|
---|
[1039de3] | 119 | <term><filename role='library'>libpopt.{so,a}</filename></term>
|
---|
[36f0d75] | 120 | <listitem>
|
---|
| 121 | <para> is used to parse command-line options.</para>
|
---|
| 122 | <indexterm zone="popt libpopt">
|
---|
[1039de3] | 123 | <primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
---|
[36f0d75] | 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 | </variablelist>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
[f45b1953] | 130 |
|
---|
| 131 | </sect1>
|
---|