Something went wrong. Try again.
forked from cz-nic/bird
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859How to install BIRD===================
There are packages available for most of the existing distributions, and it ispossibly a cleaner way to install BIRD than manually.
To install BIRD manually from the source tarball, you need to first build it.
$ ./configure$ make
After this, you get binaries bird, birdc and birdcl which will run perfectlyfrom wherever you put them. You can install them to the system paths if you want.
# make install
Default location for configuration file is /usr/local/etc/bird.conf andfor control socket is /usr/local/var/run/bird.ctl . You can change thatby --prefix, --sysconfdir and --runstatedir configure options, e.g.:
$ ./configure --prefix=/usr --sysconfdir=/etc --runstatedir=/run
To compile current development BIRD source code from Git repository, youalso need Git (to download the source code) and Autoconf (to generatethe configure script and associated files using 'autoreconf' tool):
$ git clone https://gitlab.labs.nic.cz/labs/bird/$ cd bird$ autoreconf
Then continue as in usual installation above.
For debugging and development, it's recommended to use the -l flag for BIRDbinaries to use bird.conf and bird.ctl in the current directory, instead ofsystem-wide installation of an unstable version.
Requirements============
For compiling BIRD you need these programs and libraries:
- GNU C Compiler (or LLVM Clang) - GNU Make - GNU Bison - GNU M4 - Flex
- ncurses library - GNU Readline library - libssh library (optional, for RPKI-Router protocol)
For compiling BIRD documentation you also need:
- Linuxdoc-Tools - LaTeX
$ make docs