2011-11-16 02:59:00 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2011-12-05 13:42:37 +08:00
|
|
|
<!ENTITY libtirpc-download-http "&sourceforge-repo;/project/libtirpc/libtirpc/&libtirpc-version;/libtirpc-&libtirpc-version;.tar.bz2">
|
2011-11-16 02:59:00 +08:00
|
|
|
<!ENTITY libtirpc-download-ftp " ">
|
|
|
|
<!ENTITY libtirpc-md5sum "74c41c15c2909f7d11d9c7bfa7db6273">
|
|
|
|
<!ENTITY libtirpc-size "460 KB">
|
|
|
|
<!ENTITY libtirpc-buildsize "11 MB">
|
|
|
|
<!ENTITY libtirpc-time "0.2 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="libtirpc" xreflabel="libtirpc-&libtirpc-version;">
|
|
|
|
<?dbhtml filename="libtirpc.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>libtirpc-&libtirpc-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="libtirpc">
|
|
|
|
<primary sortas="a-libtirpc">libtirpc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to libtirpc</title>
|
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
The <application>libtirpc</application> package contains
|
|
|
|
libraries that support programs that use the Remote Procedure Call (RPC)
|
|
|
|
API. It replaces the RPC, but not the NIS library entries that
|
|
|
|
used to be in glibc.
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
2012-08-24 19:46:58 +08:00
|
|
|
&lfs72_checked;
|
2011-11-16 02:59:00 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libtirpc-download-http;"/>
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libtirpc-download-ftp;"/>
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libtirpc-md5sum;
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Download size: &libtirpc-size;
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libtirpc-buildsize;
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &libtirpc-time;
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
2011-11-20 14:37:03 +08:00
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Required header tar file (Add rpc/nis headers):
|
|
|
|
<ulink url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/>
|
|
|
|
</para>
|
2011-11-20 14:37:03 +08:00
|
|
|
</listitem>
|
2011-11-16 02:59:00 +08:00
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Required Patch (Remove nis dependencies):
|
|
|
|
<ulink url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/>
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
|
|
|
|
|
2011-12-05 13:42:37 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-05-07 00:13:58 +08:00
|
|
|
<para role="required">
|
2011-12-05 13:42:37 +08:00
|
|
|
<xref linkend="pkgconfig"/>
|
|
|
|
</para>
|
|
|
|
|
2011-11-16 02:59:00 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi">libgssapi</ulink>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2013-01-25 00:36:58 +08:00
|
|
|
<ulink url="&blfs-wiki;/libtirpc"/>
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of libtirpc</title>
|
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
2013-01-25 00:36:58 +08:00
|
|
|
Glibc 2.14 and later does not install NIS and RPC related headers by
|
|
|
|
default. If needed, install them by running the following command
|
|
|
|
as the <systemitem class="username">root</systemitem> user:
|
2012-05-08 09:40:42 +08:00
|
|
|
</para>
|
2011-11-29 11:53:39 +08:00
|
|
|
|
2013-01-25 00:36:58 +08:00
|
|
|
<screen role="root"><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
|
2011-11-29 11:53:39 +08:00
|
|
|
tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
|
|
|
|
fi</userinput></screen>
|
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Install <application>libtirpc</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
2011-11-29 11:53:39 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &&
|
2013-01-25 00:36:58 +08:00
|
|
|
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &&
|
|
|
|
autoreconf -fi &&
|
2012-05-08 09:40:42 +08:00
|
|
|
./configure --prefix=/usr CFLAGS="-fPIC" &&
|
2011-11-16 02:59:00 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
mv -v /usr/lib/libtirpc.so.* /lib &&
|
|
|
|
ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so</userinput></screen>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2011-11-20 14:37:03 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-01-25 00:36:58 +08:00
|
|
|
<para>
|
|
|
|
<command>sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g"
|
|
|
|
-i configure.ac</command>: This sed fixes some issues with
|
|
|
|
<application>Automake</application> 1.13 and later.
|
|
|
|
</para>
|
|
|
|
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
<command>mv -v /usr/lib/libtirpc.so.* ...</command>: Move shared
|
|
|
|
libraries into /lib so they are available before /usr is mounted.
|
|
|
|
</para>
|
2011-11-29 11:53:39 +08:00
|
|
|
|
2011-11-20 14:37:03 +08:00
|
|
|
</sect2>
|
|
|
|
|
2011-11-16 02:59:00 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2012-05-08 09:40:42 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2011-11-16 02:59:00 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<seg>
|
|
|
|
libtirpc.{so,a}
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/etc/netconfig and
|
|
|
|
/usr/include/libtirpc
|
|
|
|
</seg>
|
2011-11-16 02:59:00 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libtirpc-lib">
|
2013-01-25 00:36:58 +08:00
|
|
|
<term><filename class="libraryfile">libtirpc.{so,a}</filename></term>
|
2011-11-16 02:59:00 +08:00
|
|
|
<listitem>
|
2012-05-08 09:40:42 +08:00
|
|
|
<para>
|
|
|
|
provides the Remote Procedure Call (RPC) API functions required by
|
|
|
|
other programs.
|
|
|
|
</para>
|
2011-11-16 02:59:00 +08:00
|
|
|
<indexterm zone="libtirpc libtirpc-lib">
|
2012-05-08 09:40:42 +08:00
|
|
|
<primary sortas="c-libtirpc">libtirpc.{so,a}</primary>
|
2011-11-16 02:59:00 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|