[ae0887f] | 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 |
|
---|
[5b38e37] | 7 | <!ENTITY libgpg-error-download-http " ">
|
---|
[ae0887f] | 8 | <!ENTITY libgpg-error-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-&libgpg-error-version;.tar.bz2">
|
---|
[eecab611] | 9 | <!ENTITY libgpg-error-md5sum "fe0cfa7e15262ef8fdeee366109e9ff6">
|
---|
[731d374] | 10 | <!ENTITY libgpg-error-size "484 KB">
|
---|
[eecab611] | 11 | <!ENTITY libgpg-error-buildsize "6.9 MB">
|
---|
[43c1385] | 12 | <!ENTITY libgpg-error-time "less than 0.1 SBU">
|
---|
[ae0887f] | 13 | ]>
|
---|
| 14 |
|
---|
[e79ed72] | 15 | <sect1 id="libgpg-error" xreflabel="libgpg-error-&libgpg-error-version;">
|
---|
[ae0887f] | 16 | <?dbhtml filename="libgpg-error.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[e79ed72] | 23 | <title>libgpg-error-&libgpg-error-version;</title>
|
---|
[ae0887f] | 24 |
|
---|
| 25 | <indexterm zone="libgpg-error">
|
---|
[e79ed72] | 26 | <primary sortas="a-libgpg-error">libgpg-error</primary>
|
---|
[ae0887f] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[e79ed72] | 30 | <title>Introduction to libgpg-error</title>
|
---|
[ae0887f] | 31 |
|
---|
[5b38e37] | 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>
|
---|
[ae0887f] | 37 |
|
---|
[7cadfea] | 38 | &lfs75_checked;
|
---|
[43c1385] | 39 |
|
---|
[ae0887f] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[5b38e37] | 43 | <para>
|
---|
[eecab611] | 44 | Download (HTTP): <ulink url="&libgpg-error-download-http;"/>
|
---|
| 45 | </para>
|
---|
[ae0887f] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[5b38e37] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libgpg-error-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[ae0887f] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[5b38e37] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libgpg-error-md5sum;
|
---|
| 55 | </para>
|
---|
[ae0887f] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[5b38e37] | 58 | <para>
|
---|
| 59 | Download size: &libgpg-error-size;
|
---|
| 60 | </para>
|
---|
[ae0887f] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[5b38e37] | 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>
|
---|
[ae0887f] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 75 | <ulink url="&blfs-wiki;/libgpg-error"/>
|
---|
| 76 | </para>
|
---|
[ae0887f] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
[e79ed72] | 80 | <title>Installation of libgpg-error</title>
|
---|
[ae0887f] | 81 |
|
---|
[5b38e37] | 82 | <para>
|
---|
| 83 | Install <application>libgpg-error</application> by running the
|
---|
| 84 | following commands:
|
---|
| 85 | </para>
|
---|
[ae0887f] | 86 |
|
---|
[5b38e37] | 87 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[ae0887f] | 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
[5b38e37] | 90 | <para>
|
---|
| 91 | To test the results, issue: <command>make check</command>.
|
---|
| 92 | </para>
|
---|
[ae0887f] | 93 |
|
---|
[5b38e37] | 94 | <para>
|
---|
| 95 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 96 | </para>
|
---|
[ae0887f] | 97 |
|
---|
| 98 | <screen role="root"><userinput>make install &&
|
---|
[e79ed72] | 99 | install -v -m644 -D README /usr/share/doc/libgpg-error-&libgpg-error-version;/README</userinput></screen>
|
---|
[ae0887f] | 100 |
|
---|
[3b06c28] | 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
|
---|
| 111 | ln -sfv ../../lib/$(readlink /usr/lib/libgpg-error.so) /usr/lib/libgpg-error.so</userinput></screen>
|
---|
| 112 |
|
---|
[ae0887f] | 113 | </sect2>
|
---|
| 114 |
|
---|
[5b38e37] | 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 |
|
---|
[ae0887f] | 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
[3605b10] | 127 | <segtitle>Installed Programs</segtitle>
|
---|
[d284bee] | 128 | <segtitle>Installed Library</segtitle>
|
---|
[43c1385] | 129 | <segtitle>Installed Directories</segtitle>
|
---|
[ae0887f] | 130 |
|
---|
| 131 | <seglistitem>
|
---|
[5b38e37] | 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>
|
---|
[ae0887f] | 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>
|
---|
[5b38e37] | 153 | <para>
|
---|
| 154 | is used to determine <application>libgpg-error</application>
|
---|
| 155 | error codes.
|
---|
| 156 | </para>
|
---|
[ae0887f] | 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>
|
---|
[5b38e37] | 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>
|
---|
[ae0887f] | 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 |
|
---|
[5b38e37] | 179 | <varlistentry id="libgpg-error-lib">
|
---|
| 180 | <term><filename class="libraryfile">libgpg-error.so</filename></term>
|
---|
[ae0887f] | 181 | <listitem>
|
---|
[5b38e37] | 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>
|
---|
[ae0887f] | 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | </sect1>
|
---|