[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 " ">
|
---|
| 9 | <!ENTITY libtirpc-md5sum "74c41c15c2909f7d11d9c7bfa7db6273">
|
---|
| 10 | <!ENTITY libtirpc-size "460 KB">
|
---|
| 11 | <!ENTITY libtirpc-buildsize "11 MB">
|
---|
| 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 |
|
---|
| 32 | <para>The <application>libtirpc</application> package contains
|
---|
| 33 | libraries that support programs that use the Remote Procedure Call (RPC)
|
---|
[e867a12] | 34 | API. It replaces the RPC, but not the NIS library entries that
|
---|
| 35 | used to be in glibc.</para>
|
---|
[821903b8] | 36 |
|
---|
| 37 | &lfs70_checked;
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing='compact'>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&libtirpc-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&libtirpc-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &libtirpc-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &libtirpc-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &libtirpc-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &libtirpc-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
[e867a12] | 63 | <listitem>
|
---|
| 64 | <para>Required header tar file (Add rpc/nis headers):
|
---|
| 65 | <ulink
|
---|
| 66 | url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/></para>
|
---|
| 67 | </listitem>
|
---|
[821903b8] | 68 | <listitem>
|
---|
| 69 | <para>Required Patch (Remove nis dependencies):
|
---|
| 70 | <ulink
|
---|
[e867a12] | 71 | url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/></para>
|
---|
[821903b8] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
|
---|
| 76 |
|
---|
[9f35d02] | 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="pkgconfig"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[821903b8] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
| 84 | <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi">libgssapi</ulink>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <para condition="html" role="usernotes">User Notes:
|
---|
| 88 | <ulink url="&blfs-wiki;/libtirpc"/></para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of libtirpc</title>
|
---|
| 94 |
|
---|
[d40e1a4] | 95 | <para>Glibc-2.14 and later do not install NIS and RPC related headers by
|
---|
| 96 | default. If needed, install them here:</para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
|
---|
| 99 | tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
|
---|
| 100 | fi</userinput></screen>
|
---|
| 101 |
|
---|
[821903b8] | 102 | <para>Install <application>libtirpc</application> by running the following
|
---|
| 103 | commands:</para>
|
---|
| 104 |
|
---|
[d40e1a4] | 105 | <screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &&
|
---|
| 106 | autoreconf &&
|
---|
| 107 | ./configure --prefix=/usr --libdir=/lib &&
|
---|
[821903b8] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>This package does not come with a test suite.</para>
|
---|
| 111 |
|
---|
| 112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 113 |
|
---|
[d40e1a4] | 114 | <screen role='root'><userinput>make pkgconfigdir=/usr/lib/pkgconfig install &&
|
---|
| 115 | mv -v /lib/libtirpc.*a /usr/lib</userinput></screen>
|
---|
[821903b8] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
[e867a12] | 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 | <para><userinput>patch -Np1 -i
|
---|
| 123 | ../libtirpc-&libtirpc-version;-remove-nis-2.patch</userinput>: This patch
|
---|
| 124 | removes references to nis functions no longer in
|
---|
| 125 | <application>glibc</application>.</para>
|
---|
| 126 |
|
---|
[d40e1a4] | 127 | <para><option>--libdir=/lib</option>: Since this library may be used before
|
---|
| 128 | /usr is mounted, place the library in /lib.</para>
|
---|
| 129 |
|
---|
| 130 | <para><option>pkgconfigdir=/usr/lib/pkgconfig</option>: Ensure the .pc file
|
---|
| 131 | is placed in the proper location.</para>
|
---|
| 132 |
|
---|
| 133 | <para><option>mv -v /lib/libtirpc.*a</option>: Static libraries and .la files
|
---|
| 134 | belong in /usr/lib.</para>
|
---|
| 135 |
|
---|
[e867a12] | 136 | </sect2>
|
---|
| 137 |
|
---|
[821903b8] | 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 | <segtitle>Installed Libraries</segtitle>
|
---|
| 144 | <segtitle>Installed Directory</segtitle>
|
---|
| 145 |
|
---|
| 146 | <seglistitem>
|
---|
| 147 | <seg>None</seg>
|
---|
| 148 | <seg>liblibtirpc.{so,a}</seg>
|
---|
| 149 | <seg>/usr/include/libtirpc</seg>
|
---|
| 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libtirpc-lib">
|
---|
| 159 | <term><filename class='libraryfile'>libtirpc.{so,a}</filename></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>provides the Remote Procedure Call (RPC) API functions required by
|
---|
| 162 | other programs.</para>
|
---|
| 163 | <indexterm zone="libtirpc libtirpc-lib">
|
---|
| 164 | <primary sortas="c-libtirpc-lib">liblibtirpc.{so,a}</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | </variablelist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | </sect1>
|
---|