2009-05-24 23:41:20 +00:00
|
|
|
How to install BIRD
|
|
|
|
===================
|
|
|
|
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
# make install
|
|
|
|
|
|
|
|
Default location for configuration file is /usr/local/etc/bird.conf and
|
|
|
|
for control socket is /usr/local/var/run/bird.ctl . You can change that
|
2019-01-03 16:11:56 +00:00
|
|
|
by --prefix, --sysconfdir and --runstatedir configure options, e.g.:
|
|
|
|
|
|
|
|
$ ./configure --prefix=/usr --sysconfdir=/etc --runstatedir=/run
|
2009-05-24 23:41:20 +00:00
|
|
|
|
2017-05-09 14:46:41 +00:00
|
|
|
To compile current development BIRD source code from Git repository, you
|
|
|
|
also need Git (to download the source code) and Autoconf (to generate
|
|
|
|
the configure script and associated files using 'autoreconf' tool):
|
|
|
|
|
2019-01-03 16:11:56 +00:00
|
|
|
$ git clone https://gitlab.labs.nic.cz/labs/bird/
|
2017-05-09 14:46:41 +00:00
|
|
|
$ cd bird
|
|
|
|
$ autoreconf
|
|
|
|
|
|
|
|
Then continue as in usual installation above.
|
|
|
|
|
2009-05-24 23:41:20 +00:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
============
|
|
|
|
|
|
|
|
For compiling BIRD you need these programs and libraries:
|
|
|
|
|
2017-05-09 14:46:41 +00:00
|
|
|
- GNU C Compiler (or LLVM Clang)
|
2009-05-24 23:41:20 +00:00
|
|
|
- GNU Make
|
|
|
|
- GNU Bison
|
|
|
|
- GNU M4
|
|
|
|
- Flex
|
|
|
|
|
|
|
|
- ncurses library
|
2019-01-03 16:11:56 +00:00
|
|
|
- GNU Readline library
|
|
|
|
- libssh library (optional, for RPKI-Router protocol)
|
2009-05-24 23:41:20 +00:00
|
|
|
|
|
|
|
For compiling BIRD documentation you also need:
|
|
|
|
|
|
|
|
- Linuxdoc-Tools
|
|
|
|
- LaTeX
|
2019-01-03 16:11:56 +00:00
|
|
|
|
|
|
|
Note that build scripts for BIRD documentation expects 'nsgmls' from
|
|
|
|
James Clark's SP suite, while modern distributions use 'onsgmls' from
|
|
|
|
OpenSP suite. It is possible to build BIRD documentation with OpenSP
|
|
|
|
tools, but it requires manually tweaking paths in doc/sgml2* scripts.
|