The libtirpc 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.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.2.2/libtirpc-0.2.2.tar.bz2
Download MD5 sum: 74c41c15c2909f7d11d9c7bfa7db6273
Download size: 460 KB
Estimated disk space required: 11 MB
Estimated build time: 0.2 SBU
Required header tar file (Add rpc/nis headers): ftp://anduin.linuxfromscratch.org/other/rpcnis-headers.tar.bz2
Required Patch (Remove nis dependencies): http://www.linuxfromscratch.org/patches/blfs/svn/libtirpc-0.2.2-remove-nis-2.patch
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libtirpc
Glibc-2.14 and later do not install NIS and RPC related headers by default. If needed, install them here:
if [ ! -r /usr/include/rpc/rpc.h ]; then tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include fi
Install libtirpc by running the following commands:
patch -Np1 -i ../libtirpc-0.2.2-remove-nis-2.patch && autoreconf && ./configure --prefix=/usr --libdir=/lib && make
This package does not come with a test suite.
Now, as the root
user:
make pkgconfigdir=/usr/lib/pkgconfig install && mv -v /lib/libtirpc.*a /usr/lib
patch -Np1 -i
../libtirpc-0.2.2-remove-nis-2.patch
: This patch
removes references to nis functions no longer in glibc.
--libdir=/lib
: Since this library may
be used before /usr is mounted, place the library in /lib.
pkgconfigdir=/usr/lib/pkgconfig
: Ensure
the .pc file is placed in the proper location.
mv -v /lib/libtirpc.*a
: Static
libraries and .la files belong in /usr/lib.
Last updated on 2011-12-05 05:42:37 +0000