File: include-compile.rst

package info (click to toggle)
frr 10.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 76,352 kB
  • sloc: ansic: 687,049; python: 226,152; perl: 6,379; sh: 2,653; cpp: 1,883; makefile: 670; yacc: 397; lex: 363; lisp: 66; xml: 35; javascript: 8
file content (30 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Clone the FRR git repo and use the included ``configure`` script to configure
FRR's build time options to your liking. The full option listing can be
obtained by running ``./configure -h``. The options shown below are examples.

.. code-block:: console

   git clone https://github.com/frrouting/frr.git frr
   cd frr
   ./bootstrap.sh
   ./configure \
       --prefix=/usr \
       --includedir=\${prefix}/include \
       --bindir=\${prefix}/bin \
       --sbindir=\${prefix}/lib/frr \
       --libdir=\${prefix}/lib/frr \
       --libexecdir=\${prefix}/lib/frr \
       --sysconfdir=/etc \
       --localstatedir=/var \
       --with-moduledir=\${prefix}/lib/frr/modules \
       --enable-configfile-mask=0640 \
       --enable-logfile-mask=0640 \
       --enable-snmp \
       --enable-multipath=64 \
       --enable-user=frr \
       --enable-group=frr \
       --enable-vty-group=frrvty \
       --with-pkg-git-version \
       --with-pkg-extra-version=-MyOwnFRRVersion
   make
   sudo make install