[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 |
|
---|
[9f35d02] | 7 | <!ENTITY libtirpc-download-http "&sourceforge-repo;/project/libtirpc/libtirpc/&libtirpc-version;/libtirpc-&libtirpc-version;.tar.bz2">
|
---|
[821903b8] | 8 | <!ENTITY libtirpc-download-ftp " ">
|
---|
[fdd7a91] | 9 | <!ENTITY libtirpc-md5sum "b70e6c12a369a91e69fcc3b9feb23d61">
|
---|
| 10 | <!ENTITY libtirpc-size "456 KB">
|
---|
| 11 | <!ENTITY libtirpc-buildsize "7.5 MB">
|
---|
[821903b8] | 12 | <!ENTITY libtirpc-time "0.2 SBU">
|
---|
| 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 |
|
---|
[5d9021ea] | 39 | &lfs74_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">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing='compact'>
|
---|
[e867a12] | 77 | <listitem>
|
---|
[c503fad7] | 78 | <para>
|
---|
| 79 | Required header tar file (Add rpc/nis headers):
|
---|
| 80 | <ulink url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/>
|
---|
| 81 | </para>
|
---|
[e867a12] | 82 | </listitem>
|
---|
[821903b8] | 83 | <listitem>
|
---|
[c503fad7] | 84 | <para>
|
---|
| 85 | Required Patch (Remove nis dependencies):
|
---|
[ee1e3eb] | 86 | <ulink url="&patch-root;/libtirpc-&libtirpc-version;-remove_nis-1.patch"/>
|
---|
[c503fad7] | 87 | </para>
|
---|
[821903b8] | 88 | </listitem>
|
---|
| 89 | </itemizedlist>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
|
---|
| 92 |
|
---|
[9f35d02] | 93 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[5b1c007f] | 94 | <para role="required">
|
---|
[9f35d02] | 95 | <xref linkend="pkgconfig"/>
|
---|
| 96 | </para>
|
---|
[0d7900a] | 97 |
|
---|
[821903b8] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 99 | <para role="optional">
|
---|
| 100 | <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi">libgssapi</ulink>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para condition="html" role="usernotes">User Notes:
|
---|
[cd34755] | 104 | <ulink url="&blfs-wiki;/libtirpc"/>
|
---|
| 105 | </para>
|
---|
[821903b8] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of libtirpc</title>
|
---|
| 110 |
|
---|
[c503fad7] | 111 | <para>
|
---|
[2995055e] | 112 | In LFS-7.1 the NIS and RPC related headers were not installed by default.
|
---|
| 113 | If that applies to your system, install them by running the following
|
---|
| 114 | command as the <systemitem class="username">root</systemitem> user:
|
---|
[c503fad7] | 115 | </para>
|
---|
[d40e1a4] | 116 |
|
---|
[cd34755] | 117 | <screen role="root"><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
|
---|
[d40e1a4] | 118 | tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
|
---|
| 119 | fi</userinput></screen>
|
---|
| 120 |
|
---|
[c503fad7] | 121 | <para>
|
---|
| 122 | Install <application>libtirpc</application> by running the following
|
---|
| 123 | commands:
|
---|
| 124 | </para>
|
---|
[821903b8] | 125 |
|
---|
[ee1e3eb] | 126 | <screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove_nis-1.patch &&
|
---|
[cd34755] | 127 | sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &&
|
---|
| 128 | autoreconf -fi &&
|
---|
[18c9ee54] | 129 |
|
---|
[fdd7a91] | 130 | ./configure --prefix=/usr --sysconfdir=/etc CFLAGS="-fPIC" &&
|
---|
[821903b8] | 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
[c503fad7] | 133 | <para>
|
---|
| 134 | This package does not come with a test suite.
|
---|
| 135 | </para>
|
---|
[821903b8] | 136 |
|
---|
[c503fad7] | 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
[821903b8] | 140 |
|
---|
[c503fad7] | 141 | <screen role="root"><userinput>make install &&
|
---|
| 142 | mv -v /usr/lib/libtirpc.so.* /lib &&
|
---|
| 143 | ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so</userinput></screen>
|
---|
[821903b8] | 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
[e867a12] | 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
[cd34755] | 150 | <para>
|
---|
| 151 | <command>sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g"
|
---|
| 152 | -i configure.ac</command>: This sed fixes some issues with
|
---|
| 153 | <application>Automake</application> 1.13 and later.
|
---|
| 154 | </para>
|
---|
| 155 |
|
---|
[c503fad7] | 156 | <para>
|
---|
[0d7900a] | 157 | <command>mv -v /usr/lib/libtirpc.so.* ...</command>: Move shared
|
---|
[c503fad7] | 158 | libraries into /lib so they are available before /usr is mounted.
|
---|
| 159 | </para>
|
---|
[d40e1a4] | 160 |
|
---|
[e867a12] | 161 | </sect2>
|
---|
| 162 |
|
---|
[821903b8] | 163 | <sect2 role="content">
|
---|
| 164 | <title>Contents</title>
|
---|
| 165 |
|
---|
| 166 | <segmentedlist>
|
---|
[c3c56b2] | 167 | <segtitle>Installed Programs</segtitle>
|
---|
[821903b8] | 168 | <segtitle>Installed Libraries</segtitle>
|
---|
[fdd7a91] | 169 | <segtitle>Installed Directory</segtitle>
|
---|
[821903b8] | 170 |
|
---|
| 171 | <seglistitem>
|
---|
[c3c56b2] | 172 | <seg>
|
---|
| 173 | None
|
---|
| 174 | </seg>
|
---|
[c503fad7] | 175 | <seg>
|
---|
| 176 | libtirpc.{so,a}
|
---|
| 177 | </seg>
|
---|
| 178 | <seg>
|
---|
| 179 | /usr/include/libtirpc
|
---|
| 180 | </seg>
|
---|
[821903b8] | 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="libtirpc-lib">
|
---|
[cd34755] | 190 | <term><filename class="libraryfile">libtirpc.{so,a}</filename></term>
|
---|
[821903b8] | 191 | <listitem>
|
---|
[c503fad7] | 192 | <para>
|
---|
| 193 | provides the Remote Procedure Call (RPC) API functions required by
|
---|
| 194 | other programs.
|
---|
| 195 | </para>
|
---|
[821903b8] | 196 | <indexterm zone="libtirpc libtirpc-lib">
|
---|
[c503fad7] | 197 | <primary sortas="c-libtirpc">libtirpc.{so,a}</primary>
|
---|
[821903b8] | 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | </variablelist>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | </sect1>
|
---|