[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 |
|
---|
[778be14] | 36 | &lfs70_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 |
|
---|
[b834dfc7] | 71 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[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 |
|
---|
[2f7d86f] | 77 | <para>To test the results, issue:</para>
|
---|
[6473e74] | 78 |
|
---|
[b3da5f2c] | 79 | <screen><userinput>make check</userinput></screen>
|
---|
[58ff87a] | 80 |
|
---|
[36f0d75] | 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 82 |
|
---|
[36f0d75] | 83 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 84 |
|
---|
[189885b] | 85 | <para>If you built the API documentation, install it using the following
|
---|
| 86 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 87 | user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
| 90 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 91 |
|
---|
[36f0d75] | 92 | </sect2>
|
---|
[8e75f8b9] | 93 |
|
---|
[36f0d75] | 94 | <sect2 role="content">
|
---|
| 95 | <title>Contents</title>
|
---|
| 96 |
|
---|
| 97 | <segmentedlist>
|
---|
| 98 | <segtitle>Installed Programs</segtitle>
|
---|
| 99 | <segtitle>Installed Library</segtitle>
|
---|
| 100 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 101 |
|
---|
[36f0d75] | 102 | <seglistitem>
|
---|
| 103 | <seg>None</seg>
|
---|
[1039de3] | 104 | <seg>libpopt.{so,a}</seg>
|
---|
[189885b] | 105 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 106 | </seglistitem>
|
---|
| 107 | </segmentedlist>
|
---|
[8e75f8b9] | 108 |
|
---|
[36f0d75] | 109 | <variablelist>
|
---|
| 110 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 111 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 112 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 113 |
|
---|
[36f0d75] | 114 | <varlistentry id="libpopt">
|
---|
[1039de3] | 115 | <term><filename role='library'>libpopt.{so,a}</filename></term>
|
---|
[36f0d75] | 116 | <listitem>
|
---|
| 117 | <para> is used to parse command-line options.</para>
|
---|
| 118 | <indexterm zone="popt libpopt">
|
---|
[1039de3] | 119 | <primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
---|
[36f0d75] | 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 | </variablelist>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
[f45b1953] | 126 |
|
---|
| 127 | </sect1>
|
---|