The IPRoute2 package contains programs for basic and advanced IPV4-based networking.
The arpd binary included in this package is dependent on Berkeley DB. Because arpd is not a very common requirement on a base Linux system, remove the dependency on Berkeley DB by applying the patch using the command below. If the arpd binary is needed, instructions for compiling Berkeley DB can be found in the BLFS Book at http://www.linuxfromscratch.org/blfs/view/svn/server/databases.html#db.
patch -Np1 -i ../iproute2-2.6.11_050330-remove_db-1.patch
Prepare IPRoute2 for compilation:
./configure
Compile the package:
make SBINDIR=/sbin
The meaning of the make option:
This ensures that the IPRoute2 binaries will install into /sbin. This is the correct location according to the FHS, because some of the IPRoute2 binaries are used by the LFS-Bootscripts package.
Install the package:
make SBINDIR=/sbin install