[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">
|
---|
[731d374] | 9 | <!ENTITY libgpg-error-md5sum "8f0eb41a344d19ac2aa9bd101dfb9ce6">
|
---|
| 10 | <!ENTITY libgpg-error-size "484 KB">
|
---|
| 11 | <!ENTITY libgpg-error-buildsize "5.6 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 |
|
---|
[405c8dc] | 38 | &lfs73_checked;
|
---|
[43c1385] | 39 |
|
---|
[ae0887f] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[5b38e37] | 43 | <para>
|
---|
| 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 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
[5b38e37] | 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
| 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 107 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
[ae0887f] | 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
[3605b10] | 115 | <segtitle>Installed Programs</segtitle>
|
---|
[d284bee] | 116 | <segtitle>Installed Library</segtitle>
|
---|
[43c1385] | 117 | <segtitle>Installed Directories</segtitle>
|
---|
[ae0887f] | 118 |
|
---|
| 119 | <seglistitem>
|
---|
[5b38e37] | 120 | <seg>
|
---|
| 121 | gpg-error and gpg-error-config
|
---|
| 122 | </seg>
|
---|
| 123 | <seg>
|
---|
| 124 | libgpg-error.so
|
---|
| 125 | </seg>
|
---|
| 126 | <seg>
|
---|
| 127 | /usr/share/common-lisp and
|
---|
| 128 | /usr/share/doc/libgpg-error-&libgpg-error-version;
|
---|
| 129 | </seg>
|
---|
[ae0887f] | 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 | <?dbhtml list-presentation="table"?>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="gpg-error">
|
---|
| 139 | <term><command>gpg-error</command></term>
|
---|
| 140 | <listitem>
|
---|
[5b38e37] | 141 | <para>
|
---|
| 142 | is used to determine <application>libgpg-error</application>
|
---|
| 143 | error codes.
|
---|
| 144 | </para>
|
---|
[ae0887f] | 145 | <indexterm zone="libgpg-error gpg-error">
|
---|
| 146 | <primary sortas="b-gpg-error">gpg-error</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="gpg-error-config">
|
---|
| 152 | <term><command>gpg-error-config</command></term>
|
---|
| 153 | <listitem>
|
---|
[5b38e37] | 154 | <para>
|
---|
| 155 | is a utility used to configure and build applications based on
|
---|
| 156 | the <application>libgpg-error</application> library. It can be used
|
---|
| 157 | to query the C compiler and linker flags which are required to
|
---|
| 158 | correctly compile and link the application against the
|
---|
| 159 | <application>libgpg-error</application> library.
|
---|
| 160 | </para>
|
---|
[ae0887f] | 161 | <indexterm zone="libgpg-error gpg-error-config">
|
---|
| 162 | <primary sortas="b-gpg-error-config">gpg-error-config</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
[5b38e37] | 167 | <varlistentry id="libgpg-error-lib">
|
---|
| 168 | <term><filename class="libraryfile">libgpg-error.so</filename></term>
|
---|
[ae0887f] | 169 | <listitem>
|
---|
[5b38e37] | 170 | <para>
|
---|
| 171 | contains the <application>libgpg-error</application> API
|
---|
| 172 | functions.
|
---|
| 173 | </para>
|
---|
| 174 | <indexterm zone="libgpg-error libgpg-error-lib">
|
---|
| 175 | <primary sortas="c-libgpg-error">libgpg-error.so</primary>
|
---|
[ae0887f] | 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|