glfs/networking/netlibs/libtirpc.xml
Bruce Dubbs 405c8dce00 LFS-7.3 tags thanks to Thoms Trepl
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11094 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-13 17:58:54 +00:00

206 lines
5.9 KiB
XML

<?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 "b70e6c12a369a91e69fcc3b9feb23d61">
<!ENTITY libtirpc-size "456 KB">
<!ENTITY libtirpc-buildsize "7.5 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>
&lfs73_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-1.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>
In LFS-7.1 the NIS and RPC related headers were not installed by default.
If that applies to your system, 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-1.patch &amp;&amp;
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
autoreconf -fi &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc 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 Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libtirpc.{so,a}
</seg>
<seg>
/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>