source: general/genlib/popt.xml@ 189885b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 189885b was 189885b, checked in by Randy McMurchy <randy@…>, 18 years ago

Added documentation installation commands to the popt instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6090 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY popt-download-http "http://rpm.net.in/mirror/rpm-4.4.x/popt-&popt-version;.tar.gz">
8 <!ENTITY popt-download-ftp "ftp://wraptastic.org/pub/rpm-4.4.x/popt-&popt-version;.tar.gz">
9 <!ENTITY popt-md5sum "dd22a6873b43d00f75e1c1b7dcfd1ff7">
10 <!ENTITY popt-size "1.1 MB">
11 <!ENTITY popt-buildsize "8.3 MB (includes installing documentation)">
12 <!ENTITY popt-time "0.3 SBU">
13]>
14
15<sect1 id="popt" xreflabel="popt-&popt-version;">
16 <?dbhtml filename="popt.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">popt_&popt-version;.orig.tar</keyword>
23 <keyword role="ftpdir">popt</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Popt-&popt-version;</title>
28
29 <indexterm zone="popt">
30 <primary sortas="a-Popt">Popt</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Popt</title>
35
36 <para>The <application>popt</application> package contains the
37 <application>popt</application> libraries which are used by
38 some programs to parse command-line options.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &popt-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &popt-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &popt-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &popt-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <para condition="html" role="usernotes">User Notes:
63 <ulink url="&blfs-wiki;/popt"/></para>
64
65 </sect2>
66
67 <sect2 role="installation">
68 <title>Installation of Popt</title>
69
70 <para>Install <application>popt</application> by running the following
71 commands:</para>
72
73<screen><userinput>sed -i -e "/*origOptString ==/c 0)" popt.c &amp;&amp;
74autoreconf -f -i &amp;&amp;
75./configure --prefix=/usr &amp;&amp;
76make</userinput></screen>
77
78 <para>If you have <xref linkend="doxygen"/> installed and wish to build
79 the API documentation, issue <command>doxygen</command>.</para>
80
81 <para>To test the results, issue:</para>
82
83<screen><userinput>make check</userinput></screen>
84
85 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
86
87<screen role="root"><userinput>make install</userinput></screen>
88
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; &amp;&amp;
94install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><command>sed ...</command>:
102 This fix taken backported from the development version of <application>popt</application>
103 fixes a problem identified by the included testsuite.</para>
104
105 <para><command>autoreconf -f -i</command>:
106 In this version, the maintainers did not include all
107 autotooled files. This command regenerates the missing files.</para>
108
109 </sect2>
110
111 <sect2 role="content">
112 <title>Contents</title>
113
114 <segmentedlist>
115 <segtitle>Installed Programs</segtitle>
116 <segtitle>Installed Library</segtitle>
117 <segtitle>Installed Directories</segtitle>
118
119 <seglistitem>
120 <seg>None</seg>
121 <seg>libpopt.{so,a}</seg>
122 <seg>/usr/share/doc/popt-&popt-version;</seg>
123 </seglistitem>
124 </segmentedlist>
125
126 <variablelist>
127 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
128 <?dbfo list-presentation="list"?>
129 <?dbhtml list-presentation="table"?>
130
131 <varlistentry id="libpopt">
132 <term><filename role='library'>libpopt.{so,a}</filename></term>
133 <listitem>
134 <para> is used to parse command-line options.</para>
135 <indexterm zone="popt libpopt">
136 <primary sortas="c-libpopt">libpopt.{so,a}</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140 </variablelist>
141
142 </sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.