glfs/networking/netlibs/libtirpc.xml

203 lines
5.8 KiB
XML
Raw Normal View History

<?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;
<!ENTITY libtirpc-download-http "&sourceforge-repo;/project/libtirpc/libtirpc/&libtirpc-version;/libtirpc-&libtirpc-version;.tar.bz2">
<!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>
<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>
&lfs72_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>
Download (HTTP): <ulink url="&libtirpc-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libtirpc-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libtirpc-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libtirpc-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libtirpc-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libtirpc-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>
Required header tar file (Add rpc/nis headers):
<ulink url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/>
</para>
</listitem>
<listitem>
<para>
Required Patch (Remove nis dependencies):
<ulink url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="pkgconfig"/>
</para>
<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:
<ulink url="&blfs-wiki;/libtirpc"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libtirpc</title>
<para>
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:
</para>
<screen role="root"><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
fi</userinput></screen>
<para>
Install <application>libtirpc</application> by running the following
commands:
</para>
<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &amp;&amp;
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
autoreconf -fi &amp;&amp;
./configure --prefix=/usr CFLAGS="-fPIC" &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
mv -v /usr/lib/libtirpc.so.* /lib &amp;&amp;
ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<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>
<para>
<command>mv -v /usr/lib/libtirpc.so.* ...</command>: Move shared
libraries into /lib so they are available before /usr is mounted.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
libtirpc.{so,a}
</seg>
<seg>
/etc/netconfig and
/usr/include/libtirpc
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libtirpc-lib">
<term><filename class="libraryfile">libtirpc.{so,a}</filename></term>
<listitem>
<para>
provides the Remote Procedure Call (RPC) API functions required by
other programs.
</para>
<indexterm zone="libtirpc libtirpc-lib">
<primary sortas="c-libtirpc">libtirpc.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>