source: general/genlib/libgpg-error-systemd.xml@ 7274e6c

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 7274e6c was 7274e6c, checked in by Krejzi <krejzi@…>, 10 years ago

More checks.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13991 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libgpg-error-download-http " ">
8 <!ENTITY libgpg-error-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-&libgpg-error-version;.tar.bz2">
9 <!ENTITY libgpg-error-md5sum "fe0cfa7e15262ef8fdeee366109e9ff6">
10 <!ENTITY libgpg-error-size "484 KB">
11 <!ENTITY libgpg-error-buildsize "6.9 MB">
12 <!ENTITY libgpg-error-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libgpg-error" xreflabel="libgpg-error-&libgpg-error-version;">
16 <?dbhtml filename="libgpg-error.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libgpg-error-&libgpg-error-version;</title>
24
25 <indexterm zone="libgpg-error">
26 <primary sortas="a-libgpg-error">libgpg-error</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libgpg-error</title>
31
32 <para>
33 The <application>libgpg-error</application> package contains a
34 library that defines common error values for all
35 <application>GnuPG</application> components.
36 .</para>
37
38 &lfs76_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libgpg-error-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libgpg-error-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libgpg-error-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libgpg-error-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libgpg-error-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libgpg-error-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/libgpg-error"/>
76 </para>
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of libgpg-error</title>
81
82 <para>
83 Install <application>libgpg-error</application> by running the
84 following commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
88make</userinput></screen>
89
90 <para>
91 To test the results, issue: <command>make check</command>.
92 </para>
93
94 <para>
95 Now, as the <systemitem class="username">root</systemitem> user:
96 </para>
97
98<screen role="root"><userinput>make install &amp;&amp;
99install -v -m644 -D README /usr/share/doc/libgpg-error-&libgpg-error-version;/README</userinput></screen>
100
101 <para>
102 The shared library needs to be moved to
103 <filename class="directory">/lib</filename>, and as a result the
104 <filename class="extension">.so</filename> file in
105 <filename class="directory">/usr/lib</filename> will need to be
106 recreated. Run the following command as the
107 <systemitem class="username">root</systemitem> user:
108 </para>
109
110<screen><userinput remap="install">mv -v /usr/lib/libgpg-error.so.* /lib
111ln -sfv ../../lib/$(readlink /usr/lib/libgpg-error.so) /usr/lib/libgpg-error.so</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../../xincludes/static-libraries.xml"/>
120
121 </sect2>
122
123 <sect2 role="content">
124 <title>Contents</title>
125
126 <segmentedlist>
127 <segtitle>Installed Programs</segtitle>
128 <segtitle>Installed Library</segtitle>
129 <segtitle>Installed Directories</segtitle>
130
131 <seglistitem>
132 <seg>
133 gpg-error and gpg-error-config
134 </seg>
135 <seg>
136 libgpg-error.so
137 </seg>
138 <seg>
139 /usr/share/common-lisp and
140 /usr/share/doc/libgpg-error-&libgpg-error-version;
141 </seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <varlistentry id="gpg-error">
151 <term><command>gpg-error</command></term>
152 <listitem>
153 <para>
154 is used to determine <application>libgpg-error</application>
155 error codes.
156 </para>
157 <indexterm zone="libgpg-error gpg-error">
158 <primary sortas="b-gpg-error">gpg-error</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="gpg-error-config">
164 <term><command>gpg-error-config</command></term>
165 <listitem>
166 <para>
167 is a utility used to configure and build applications based on
168 the <application>libgpg-error</application> library. It can be used
169 to query the C compiler and linker flags which are required to
170 correctly compile and link the application against the
171 <application>libgpg-error</application> library.
172 </para>
173 <indexterm zone="libgpg-error gpg-error-config">
174 <primary sortas="b-gpg-error-config">gpg-error-config</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libgpg-error-lib">
180 <term><filename class="libraryfile">libgpg-error.so</filename></term>
181 <listitem>
182 <para>
183 contains the <application>libgpg-error</application> API
184 functions.
185 </para>
186 <indexterm zone="libgpg-error libgpg-error-lib">
187 <primary sortas="c-libgpg-error">libgpg-error.so</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.