2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2006-05-07 03:05:32 +08:00
|
|
|
<!ENTITY popt-download-http "http://rpm.net.in/mirror/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
2006-05-16 22:55:18 +08:00
|
|
|
<!ENTITY popt-download-ftp "ftp://wraptastic.org/pub/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
|
|
|
<!ENTITY popt-md5sum "dd22a6873b43d00f75e1c1b7dcfd1ff7">
|
|
|
|
<!ENTITY popt-size "1.1 MB">
|
|
|
|
<!ENTITY popt-buildsize "8.3 MB (includes installing documentation)">
|
2006-12-17 12:37:30 +08:00
|
|
|
<!ENTITY popt-time "0.1 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 01:41:56 +08:00
|
|
|
<sect1 id="popt" xreflabel="popt-&popt-version;">
|
2005-05-01 23:42:49 +08:00
|
|
|
<?dbhtml filename="popt.html"?>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2006-05-07 03:05:32 +08:00
|
|
|
<title>Popt-&popt-version;</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<indexterm zone="popt">
|
|
|
|
<primary sortas="a-Popt">Popt</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Popt</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>The <application>popt</application> package contains the
|
2005-05-01 23:42:49 +08:00
|
|
|
<application>popt</application> libraries which are used by
|
|
|
|
some programs to parse command-line options.</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &popt-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &popt-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &popt-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &popt-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/popt"/></para>
|
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Popt</title>
|
|
|
|
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>Install <application>popt</application> by running the following
|
2005-05-01 23:42:49 +08:00
|
|
|
commands:</para>
|
|
|
|
|
2006-05-09 12:40:56 +08:00
|
|
|
<screen><userinput>sed -i -e "/*origOptString ==/c 0)" popt.c &&
|
2005-01-23 12:12:30 +08:00
|
|
|
./configure --prefix=/usr &&
|
2005-05-01 23:42:49 +08:00
|
|
|
make</userinput></screen>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2006-05-16 22:55:18 +08:00
|
|
|
<para>If you have <xref linkend="doxygen"/> installed and wish to build
|
|
|
|
the API documentation, issue <command>doxygen</command>.</para>
|
|
|
|
|
2005-12-08 12:01:23 +08:00
|
|
|
<para>To test the results, issue:</para>
|
2006-03-15 23:00:51 +08:00
|
|
|
|
2006-05-07 03:05:32 +08:00
|
|
|
<screen><userinput>make check</userinput></screen>
|
2005-07-19 06:08:43 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2006-05-16 22:55:18 +08:00
|
|
|
<para>If you built the API documentation, install it using the following
|
|
|
|
commands issued by the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
|
|
|
install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2006-05-09 12:40:56 +08:00
|
|
|
<para><command>sed ...</command>:
|
|
|
|
This fix taken backported from the development version of <application>popt</application>
|
|
|
|
fixes a problem identified by the included testsuite.</para>
|
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>None</seg>
|
2006-04-11 02:35:56 +08:00
|
|
|
<seg>libpopt.{so,a}</seg>
|
2006-05-16 22:55:18 +08:00
|
|
|
<seg>/usr/share/doc/popt-&popt-version;</seg>
|
2005-05-01 23:42:49 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
2005-05-02 05:20:35 +08:00
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 23:42:49 +08:00
|
|
|
<varlistentry id="libpopt">
|
2006-04-11 02:35:56 +08:00
|
|
|
<term><filename role='library'>libpopt.{so,a}</filename></term>
|
2005-05-01 23:42:49 +08:00
|
|
|
<listitem>
|
|
|
|
<para> is used to parse command-line options.</para>
|
|
|
|
<indexterm zone="popt libpopt">
|
2006-04-11 02:35:56 +08:00
|
|
|
<primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
2005-05-01 23:42:49 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|