Chapter 6. Installing Basic System Software

6.57.
IPRoute2-3.12.0

6.57.1. Installation of IPRoute2

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 commands 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.

This ensures that the IPRoute2 binaries will install into the
correct directory. By default, DESTDIR is set to /usr.

This package comes with a test suite, but due to assumptions it
makes, it is not possible to reliably run these tests from within
the chroot environment. If you wish to run these tests after
booting into your new LFS system, ensure you select /proc/config.gz CONFIG_IKCONFIG_PROC ("General
setup" -> "Enable access to .config through /proc/config.gz")
support into your kernel then run 'make alltests' from the
testsuite/ subdirectory.