mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-13 07:29:10 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6028 af4574ff-66df-0310-9fd7-8a98e5e911e0
136 lines
4.0 KiB
XML
136 lines
4.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY popt-download-http "http://rpm.net.in/mirror/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
|
<!ENTITY popt-download-ftp "ftp://wraptastic.org/pub/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
|
<!ENTITY popt-md5sum "63b943522a6788ae8f756ca123d83c00">
|
|
<!ENTITY popt-size "625 KB">
|
|
<!ENTITY popt-buildsize "6.5 MB">
|
|
<!ENTITY popt-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="popt" xreflabel="popt-&popt-version;">
|
|
<?dbhtml filename="popt.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
<keywordset>
|
|
<keyword role="package">popt_&popt-version;.orig.tar</keyword>
|
|
<keyword role="ftpdir">popt</keyword>
|
|
</keywordset>
|
|
</sect1info>
|
|
|
|
<title>Popt-&popt-version;</title>
|
|
|
|
<indexterm zone="popt">
|
|
<primary sortas="a-Popt">Popt</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Popt</title>
|
|
|
|
<para>The <application>popt</application> package contains the
|
|
<application>popt</application> libraries which are used by
|
|
some programs to parse command-line options.</para>
|
|
|
|
<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>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/popt"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Popt</title>
|
|
|
|
<para>Install <application>popt</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>sed -i -e "/*origOptString ==/c 0)" popt.c &&
|
|
autoreconf -f -i &&
|
|
./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue:</para>
|
|
|
|
<screen><userinput>make check</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<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>
|
|
|
|
<para><command>autoreconf -f -i</command>:
|
|
In this version, the maintainers did not include all
|
|
autotooled files. This command regenerates the missing files.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libpopt.{so,a}</seg>
|
|
<seg>None</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libpopt">
|
|
<term><filename role='library'>libpopt.{so,a}</filename></term>
|
|
<listitem>
|
|
<para> is used to parse command-line options.</para>
|
|
<indexterm zone="popt libpopt">
|
|
<primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|