[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libgpg-error-download-http "&gnupg-http;/libgpg-error/libgpg-error-&libgpg-error-version;.tar.bz2">
|
---|
[d4e8cd93] | 8 | <!ENTITY libgpg-error-download-ftp "&gnupg-ftp;/libgpg-error/libgpg-error-&libgpg-error-version;.tar.bz2">
|
---|
[14d673a2] | 9 | <!ENTITY libgpg-error-download-ftp " ">
|
---|
[b44d89e] | 10 | <!ENTITY libgpg-error-md5sum "eff437f397e858a9127b76c0d87fa5ed">
|
---|
[cd7dab9] | 11 | <!ENTITY libgpg-error-size "900 KB">
|
---|
[b44d89e] | 12 | <!ENTITY libgpg-error-buildsize "9.8 MB (with tests)">
|
---|
[c18fd2e6] | 13 | <!ENTITY libgpg-error-time "0.1 SBU (with tests)">
|
---|
[ae0887f] | 14 | ]>
|
---|
| 15 |
|
---|
[e79ed72] | 16 | <sect1 id="libgpg-error" xreflabel="libgpg-error-&libgpg-error-version;">
|
---|
[ae0887f] | 17 | <?dbhtml filename="libgpg-error.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[e79ed72] | 24 | <title>libgpg-error-&libgpg-error-version;</title>
|
---|
[ae0887f] | 25 |
|
---|
| 26 | <indexterm zone="libgpg-error">
|
---|
[e79ed72] | 27 | <primary sortas="a-libgpg-error">libgpg-error</primary>
|
---|
[ae0887f] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[e79ed72] | 31 | <title>Introduction to libgpg-error</title>
|
---|
[ae0887f] | 32 |
|
---|
[5b38e37] | 33 | <para>
|
---|
| 34 | The <application>libgpg-error</application> package contains a
|
---|
| 35 | library that defines common error values for all
|
---|
| 36 | <application>GnuPG</application> components.
|
---|
[ecb44f0] | 37 | </para>
|
---|
[ae0887f] | 38 |
|
---|
[ba4e992] | 39 | &lfs84_checked;
|
---|
[43c1385] | 40 |
|
---|
[ae0887f] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[5b38e37] | 44 | <para>
|
---|
[eecab611] | 45 | Download (HTTP): <ulink url="&libgpg-error-download-http;"/>
|
---|
| 46 | </para>
|
---|
[ae0887f] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[5b38e37] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libgpg-error-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[ae0887f] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[5b38e37] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &libgpg-error-md5sum;
|
---|
| 56 | </para>
|
---|
[ae0887f] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[5b38e37] | 59 | <para>
|
---|
| 60 | Download size: &libgpg-error-size;
|
---|
| 61 | </para>
|
---|
[ae0887f] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[5b38e37] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &libgpg-error-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &libgpg-error-time;
|
---|
| 71 | </para>
|
---|
[ae0887f] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 76 | <ulink url="&blfs-wiki;/libgpg-error"/>
|
---|
| 77 | </para>
|
---|
[ae0887f] | 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
[e79ed72] | 81 | <title>Installation of libgpg-error</title>
|
---|
[ae0887f] | 82 |
|
---|
[3defa3b1] | 83 | <!-- fixed upstream, but needed for version 1.36 -->
|
---|
| 84 | <para>
|
---|
| 85 | First apply a sed to allow building with gawk-5.0:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <screen><userinput>sed -i 's/namespace/pkg_&/' src/Makefile.{am,in} src/mkstrtable.awk</userinput></screen>
|
---|
| 89 |
|
---|
[5b38e37] | 90 | <para>
|
---|
| 91 | Install <application>libgpg-error</application> by running the
|
---|
| 92 | following commands:
|
---|
| 93 | </para>
|
---|
[ae0887f] | 94 |
|
---|
[1c8d0ff] | 95 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[ae0887f] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[5b38e37] | 98 | <para>
|
---|
| 99 | To test the results, issue: <command>make check</command>.
|
---|
| 100 | </para>
|
---|
[ae0887f] | 101 |
|
---|
[5b38e37] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[ae0887f] | 105 |
|
---|
| 106 | <screen role="root"><userinput>make install &&
|
---|
[e79ed72] | 107 | install -v -m644 -D README /usr/share/doc/libgpg-error-&libgpg-error-version;/README</userinput></screen>
|
---|
[ae0887f] | 108 |
|
---|
| 109 | </sect2>
|
---|
[5b38e37] | 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>
|
---|
[c18fd2e6] | 121 | gpg-error, gpg-error-config, gpgrt-config, and yat2m
|
---|
[5b38e37] | 122 | </seg>
|
---|
| 123 | <seg>
|
---|
| 124 | libgpg-error.so
|
---|
| 125 | </seg>
|
---|
| 126 | <seg>
|
---|
[ecb44f0] | 127 | /usr/share/common-lisp/source/gpg-error,
|
---|
| 128 | /usr/share/libgpg-error, and
|
---|
[5b38e37] | 129 | /usr/share/doc/libgpg-error-&libgpg-error-version;
|
---|
| 130 | </seg>
|
---|
[ae0887f] | 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="gpg-error">
|
---|
| 140 | <term><command>gpg-error</command></term>
|
---|
| 141 | <listitem>
|
---|
[5b38e37] | 142 | <para>
|
---|
| 143 | is used to determine <application>libgpg-error</application>
|
---|
| 144 | error codes.
|
---|
| 145 | </para>
|
---|
[ae0887f] | 146 | <indexterm zone="libgpg-error gpg-error">
|
---|
| 147 | <primary sortas="b-gpg-error">gpg-error</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="gpg-error-config">
|
---|
| 153 | <term><command>gpg-error-config</command></term>
|
---|
| 154 | <listitem>
|
---|
[5b38e37] | 155 | <para>
|
---|
| 156 | is a utility used to configure and build applications based on
|
---|
| 157 | the <application>libgpg-error</application> library. It can be used
|
---|
| 158 | to query the C compiler and linker flags which are required to
|
---|
| 159 | correctly compile and link the application against the
|
---|
| 160 | <application>libgpg-error</application> library.
|
---|
| 161 | </para>
|
---|
[ae0887f] | 162 | <indexterm zone="libgpg-error gpg-error-config">
|
---|
| 163 | <primary sortas="b-gpg-error-config">gpg-error-config</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[c18fd2e6] | 168 | <varlistentry id="gpgrt-config">
|
---|
| 169 | <term><command>gpgrt-config</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
| 172 | is the same script as <command>gpg-error-config</command>.
|
---|
| 173 | </para>
|
---|
| 174 | <indexterm zone="libgpg-error gpgrt-config">
|
---|
| 175 | <primary sortas="b-gpgrt-config">gpgrt-config</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="yat2m">
|
---|
| 181 | <term><command>yat2m</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>
|
---|
| 184 | extracts man pages from a Texinfo source.
|
---|
| 185 | </para>
|
---|
| 186 | <indexterm zone="libgpg-error yat2m">
|
---|
| 187 | <primary sortas="b-yat2m">yat2m</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[5b38e37] | 192 | <varlistentry id="libgpg-error-lib">
|
---|
| 193 | <term><filename class="libraryfile">libgpg-error.so</filename></term>
|
---|
[ae0887f] | 194 | <listitem>
|
---|
[5b38e37] | 195 | <para>
|
---|
| 196 | contains the <application>libgpg-error</application> API
|
---|
| 197 | functions.
|
---|
| 198 | </para>
|
---|
| 199 | <indexterm zone="libgpg-error libgpg-error-lib">
|
---|
| 200 | <primary sortas="c-libgpg-error">libgpg-error.so</primary>
|
---|
[ae0887f] | 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | </variablelist>
|
---|
| 206 |
|
---|
| 207 | </sect2>
|
---|
| 208 |
|
---|
| 209 | </sect1>
|
---|