mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
9f35d021b2
Added LIBS environmetn variable to nfs-utils configure. Added tcpwrappers as an optional rpcbind dependency. Added pkgconfig as a required libtirpc dependency. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9062 af4574ff-66df-0310-9fd7-8a98e5e911e0
174 lines
5.6 KiB
XML
174 lines
5.6 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 "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>
|
|
|
|
&lfs70_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="optional">
|
|
<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 do not install NIS and RPC related headers by
|
|
default. If needed, install them here:</para>
|
|
|
|
<screen><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 &&
|
|
autoreconf &&
|
|
./configure --prefix=/usr --libdir=/lib &&
|
|
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 pkgconfigdir=/usr/lib/pkgconfig install &&
|
|
mv -v /lib/libtirpc.*a /usr/lib</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><userinput>patch -Np1 -i
|
|
../libtirpc-&libtirpc-version;-remove-nis-2.patch</userinput>: This patch
|
|
removes references to nis functions no longer in
|
|
<application>glibc</application>.</para>
|
|
|
|
<para><option>--libdir=/lib</option>: Since this library may be used before
|
|
/usr is mounted, place the library in /lib.</para>
|
|
|
|
<para><option>pkgconfigdir=/usr/lib/pkgconfig</option>: Ensure the .pc file
|
|
is placed in the proper location.</para>
|
|
|
|
<para><option>mv -v /lib/libtirpc.*a</option>: Static libraries and .la files
|
|
belong in /usr/lib.</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>liblibtirpc.{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-lib">liblibtirpc.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|