2.1.1 The Configure script and its options
Quagga has an excellent configure script which automatically detects most
host configurations. There are several additional configure options you can
use to turn off IPv6 support, to disable the compilation of specific
daemons, and to enable SNMP support.
- --enable-guile
- Turn on compilation of the zebra-guile interpreter. You will need the
guile library to make this. zebra-guile implementation is not yet
finished. So this option is only useful for zebra-guile developers.
- --disable-ipv6
- Turn off IPv6 related features and daemons. Quagga configure script
automatically detects IPv6 stack. But sometimes you might want to
disable IPv6 support of Quagga.
- --disable-zebra
- Do not build zebra daemon.
- --disable-ripd
- Do not build ripd.
- --disable-ripngd
- Do not build ripngd.
- --disable-ospfd
- Do not build ospfd.
- --disable-ospf6d
- Do not build ospf6d.
- --disable-bgpd
- Do not build bgpd.
- --disable-bgp-announce
- Make bgpd which does not make bgp announcements at all. This
feature is good for using bgpd as a BGP announcement listener.
- --enable-netlink
- Force to enable gnu/Linux netlink interface. Quagga configure
script detects netlink interface by checking a header file. When the header
file does not match to the current running kernel, configure script will
not turn on netlink support.
- --enable-snmp
- Enable SNMP support. By default, SNMP support is disabled.
- --enable-opaque-lsa
- Enable support for Opaque LSAs (RFC2370) in ospfd.
- --disable-ospfapi
- Disable support for OSPF-API, an API to interface directly with ospfd.
OSPF-API is enabled if –enable-opaque-lsa is set.
- --disable-ospfclient
- Disable building of the example OSPF-API client.
- --enable-ospf-te
- Enable support for OSPF Traffic Engineering Extension (internet-draft) this
requires support for Opaque LSAs.
- --enable-multipath=ARG
- Enable support for Equal Cost Multipath. ARG is the maximum number
of ECMP paths to allow, set to 0 to allow unlimited number of paths.
- --enable-rtadv
- Enable support IPV6 router advertisement in zebra.
You may specify any combination of the above options to the configure
script. By default, the executables are placed in /usr/local/sbin
and the configuration files in /usr/local/etc. The /usr/local/
installation prefix and other directories may be changed using the following
options to the configuration script.
- --prefix=prefix
- Install architecture-independent files in prefix [/usr/local].
- --sysconfdir=dir
- Look for configuration files in dir [prefix/etc]. Note
that sample configuration files will be installed here.
- --localstatedir=dir
- Configure zebra to use dir for local state files, such
as pid files and unix sockets.
% ./configure --disable-ipv6
This command will configure zebra and the routing daemons.