[821903b8] | 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 libtirpc-download-http "&sourceforge-dl;/libtirpc/libtirpc-&libtirpc-version;.tar.bz2">
|
---|
[821903b8] | 8 | <!ENTITY libtirpc-download-ftp " ">
|
---|
[bf5b1db] | 9 | <!ENTITY libtirpc-md5sum "d5a37f1dccec484f9cabe2b97e54e9a6">
|
---|
| 10 | <!ENTITY libtirpc-size "500 KB">
|
---|
| 11 | <!ENTITY libtirpc-buildsize "6.8 MB">
|
---|
[1004f84] | 12 | <!ENTITY libtirpc-time "less than 0.1 SBU">
|
---|
[821903b8] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libtirpc" xreflabel="libtirpc-&libtirpc-version;">
|
---|
| 16 | <?dbhtml filename="libtirpc.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libtirpc-&libtirpc-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libtirpc">
|
---|
| 26 | <primary sortas="a-libtirpc">libtirpc</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libtirpc</title>
|
---|
| 31 |
|
---|
[c503fad7] | 32 | <para>
|
---|
| 33 | The <application>libtirpc</application> package contains
|
---|
[0d7900a] | 34 | libraries that support programs that use the Remote Procedure Call (RPC)
|
---|
| 35 | API. It replaces the RPC, but not the NIS library entries that
|
---|
[c503fad7] | 36 | used to be in glibc.
|
---|
| 37 | </para>
|
---|
[821903b8] | 38 |
|
---|
[ce63bfd2] | 39 | &lfs81_checked;
|
---|
[821903b8] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing='compact'>
|
---|
| 43 | <listitem>
|
---|
[c503fad7] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libtirpc-download-http;"/>
|
---|
| 46 | </para>
|
---|
[821903b8] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c503fad7] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libtirpc-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[821903b8] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[c503fad7] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &libtirpc-md5sum;
|
---|
| 56 | </para>
|
---|
[821903b8] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[c503fad7] | 59 | <para>
|
---|
| 60 | Download size: &libtirpc-size;
|
---|
| 61 | </para>
|
---|
[821903b8] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[0d7900a] | 64 | <para>
|
---|
[c503fad7] | 65 | Estimated disk space required: &libtirpc-buildsize;
|
---|
| 66 | </para>
|
---|
[821903b8] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[c503fad7] | 69 | <para>
|
---|
| 70 | Estimated build time: &libtirpc-time;
|
---|
| 71 | </para>
|
---|
[821903b8] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
[c2b0e50] | 79 | <xref linkend="mitkrb"/> for the GSSAPI
|
---|
[821903b8] | 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">User Notes:
|
---|
[cd34755] | 83 | <ulink url="&blfs-wiki;/libtirpc"/>
|
---|
| 84 | </para>
|
---|
[821903b8] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libtirpc</title>
|
---|
| 89 |
|
---|
[a4b8fa34] | 90 | <note><para>If updating this package, you will also need to update
|
---|
| 91 | any existing version of <xref linkend='rpcbind'/></para></note>
|
---|
[1f6099c] | 92 |
|
---|
[ce63bfd2] | 93 | <para>
|
---|
[c8385bb7] | 94 | Fix a build issue with glibc-2.26:
|
---|
[ce63bfd2] | 95 | </para>
|
---|
| 96 |
|
---|
[4bf60a36] | 97 | <screen><userinput>sed '/stdlib.h/a#include <stdint.h>' -i src/xdr_sizeof.c</userinput></screen>
|
---|
[ce63bfd2] | 98 |
|
---|
[a15d5e1] | 99 | <para>
|
---|
| 100 | Fix a symbol name needed by NIS libraries:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>sed '/key_secret_is/s/secret/secretkey/' -i src/libtirpc.map</userinput></screen>
|
---|
[c503fad7] | 104 | <para>
|
---|
| 105 | Install <application>libtirpc</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
[821903b8] | 108 |
|
---|
[bf5b1db] | 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4df25bd0] | 110 | --sysconfdir=/etc \
|
---|
| 111 | --disable-static \
|
---|
| 112 | --disable-gssapi &&
|
---|
[821903b8] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[c503fad7] | 115 | <para>
|
---|
| 116 | This package does not come with a test suite.
|
---|
| 117 | </para>
|
---|
[821903b8] | 118 |
|
---|
[c503fad7] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[821903b8] | 122 |
|
---|
[c503fad7] | 123 | <screen role="root"><userinput>make install &&
|
---|
| 124 | mv -v /usr/lib/libtirpc.so.* /lib &&
|
---|
[a4b8fa34] | 125 | ln -sfv ../../lib/libtirpc.so.3.0.0 /usr/lib/libtirpc.so</userinput></screen>
|
---|
[821903b8] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
[e867a12] | 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
[485aec87] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 133 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 134 |
|
---|
[fddb28c] | 135 | <para>
|
---|
[f3429309] | 136 | <parameter>--disable-gssapi</parameter>: This switch is needed if
|
---|
[c2b0e50] | 137 | no GSSAPI is installed. Remove this switch if you have one
|
---|
| 138 | installed (for example <xref linkend="mitkrb"/>) and you wish to use it.
|
---|
[fddb28c] | 139 | </para>
|
---|
| 140 |
|
---|
[c503fad7] | 141 | <para>
|
---|
[0d7900a] | 142 | <command>mv -v /usr/lib/libtirpc.so.* ...</command>: Move shared
|
---|
[c503fad7] | 143 | libraries into /lib so they are available before /usr is mounted.
|
---|
| 144 | </para>
|
---|
[d40e1a4] | 145 |
|
---|
[e867a12] | 146 | </sect2>
|
---|
| 147 |
|
---|
[821903b8] | 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
[c3c56b2] | 152 | <segtitle>Installed Programs</segtitle>
|
---|
[821903b8] | 153 | <segtitle>Installed Libraries</segtitle>
|
---|
[fdd7a91] | 154 | <segtitle>Installed Directory</segtitle>
|
---|
[821903b8] | 155 |
|
---|
| 156 | <seglistitem>
|
---|
[c3c56b2] | 157 | <seg>
|
---|
| 158 | None
|
---|
| 159 | </seg>
|
---|
[c503fad7] | 160 | <seg>
|
---|
[485aec87] | 161 | libtirpc.so
|
---|
[c503fad7] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
[9fe905c] | 164 | /usr/include/tirpc
|
---|
[c503fad7] | 165 | </seg>
|
---|
[821903b8] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libtirpc-lib">
|
---|
[485aec87] | 175 | <term><filename class="libraryfile">libtirpc.so</filename></term>
|
---|
[821903b8] | 176 | <listitem>
|
---|
[c503fad7] | 177 | <para>
|
---|
| 178 | provides the Remote Procedure Call (RPC) API functions required by
|
---|
| 179 | other programs.
|
---|
| 180 | </para>
|
---|
[821903b8] | 181 | <indexterm zone="libtirpc libtirpc-lib">
|
---|
[485aec87] | 182 | <primary sortas="c-libtirpc">libtirpc.so</primary>
|
---|
[821903b8] | 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|