sudo yum install git autoconf automake libtool make gawk readline-devel \
texinfo net-snmp-devel groff pkgconfig json-c-devel pam-devel \
- flex pytest
+ flex c-ares-devel epel-release
Install newer version of bison (CentOS 6 package source is too old) from
CentOS 7
Install `Python 2.7` in parallel to default 2.6 (needed for `make check` to
run unittests).
-Pick correct EPEL based on CentOS version used. Then install current `pytest`
+Make sure you've install EPEL (`epel-release` as above). Then install current
+`python2.7` and `pytest`
- rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm
- yum install python27 python27-pip
+ yum install python27 python27-devel python27-pip
pip2.7 install pytest
Please note that `CentOS 6` needs to keep python pointing to version 2.6
for `yum` to keep working, so don't create a symlink for python2.7 to python
-
+
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--sysconfdir=/etc/frr \
Install required packages
-------------------------
-
+
Add packages:
sudo yum install git autoconf automake libtool make gawk readline-devel \
texinfo net-snmp-devel groff pkgconfig json-c-devel pam-devel \
- bison flex pytest
+ bison flex pytest c-ares-devel python-devel
+
+To build from git (in difference to building from distribution tar.gz as created by `make dist`), the python development libraries are needed. (Make sure you've installed EPEL libraries as shown above for this to work)
+
+ yum install python34-devel
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--sysconfdir=/etc/frr \
Install required packages
-------------------------
-
+
Add packages:
sudo apt-get install git autoconf automake libtool make gawk \
libreadline-dev texinfo libjson-c-dev pkg-config bison flex \
- python-pip
+ python-pip libc-ares-dev python3-dev
Install newer pytest (>3.0) from pip
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \
sudo dnf install git autoconf automake libtool make gawk \
readline-devel texinfo net-snmp-devel groff pkgconfig \
- json-c-devel pam-devel perl-XML-LibXML pytest
+ json-c-devel pam-devel perl-XML-LibXML c-ares-devel \
+ python3-devel
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--sysconfdir=/etc/frr \
install and asked)
pkg install git autoconf automake libtool gmake gawk json-c pkgconf \
- bison flex py27-pytest
+ bison flex py27-pytest c-ares python3
Make sure there is no /usr/bin/flex preinstalled (and use the newly
installed in /usr/local/bin):
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
export MAKE=gmake
export LDFLAGS="-L/usr/local/lib"
install and asked)
pkg install git autoconf automake libtool gmake gawk json-c pkgconf \
- bison flex py27-pytest
+ bison flex py27-pytest c-ares python3
Make sure there is no /usr/bin/flex preinstalled (and use the newly
installed in /usr/local/bin):
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
export MAKE=gmake
export LDFLAGS="-L/usr/local/lib"
install and asked)
pkg install -y git autoconf automake libtool gmake gawk \
- pkgconf texinfo json-c bison flex py27-pytest
+ pkgconf texinfo json-c bison flex py27-pytest c-ares \
+ python3
Make sure there is no /usr/bin/flex preinstalled (and use the newly
installed in /usr/local/bin):
rm -f /usr/bin/flex
+For building with clang (instead of gcc), upgrade clang from 3.4 default to 3.6 *This is needed to build FreeBSD packages as well - for packages clang is default* (Clang 3.4 as shipped with FreeBSD 9 crashes during compile)
+
+ pkg install clang36
+ pkg delete clang34
+ mv /usr/bin/clang /usr/bin/clang34
+ ln -s /usr/local/bin/clang36 /usr/bin/clang
+
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
export MAKE=gmake
export LDFLAGS="-L/usr/local/lib"
Add packages:
sudo pkg_add git autoconf automake libtool gmake gawk openssl \
- pkg-config json-c p5-XML-LibXML python27 py27-test
+ pkg-config json-c p5-XML-LibXML python27 py27-test python35
Install SSL Root Certificates (for git https access):
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
MAKE=gmake
export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib"
-------------------------
sudo pkgin install git autoconf automake libtool gmake gawk openssl \
- pkg-config json-c p5-XML-LibXML python27 py27-test
+ pkg-config json-c p5-XML-LibXML python27 py27-test python35
Install SSL Root Certificates (for git https access):
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
MAKE=gmake
export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib"
/opt/csw/bin/pkgutil -y -i texinfo
/opt/csw/bin/pkgutil -y -i perl
/opt/csw/bin/pkgutil -y -i libjson_c_dev
- /opt/csw/bin/pkgutil -y -i python27 py_pip
+ /opt/csw/bin/pkgutil -y -i python27 py_pip python27_dev
Add libjson to Solaris equivalent of ld.so.conf
rm -f /usr/bin/python
ln -s /opt/csw/bin/python2.7 /usr/bin/python
-
+
Fix PATH for all users and non-interactive sessions. Edit `/etc/default/login`
and add the following default PATH:
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
export MAKE=gmake
export LDFLAGS="-L/opt/csw/lib"
export CPPFLAGS="-I/opt/csw/include"
+ export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig
./configure \
--sysconfdir=/etc/frr \
--enable-exampledir=/usr/share/doc/frr/examples/ \
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
export LDFLAGS="-L/usr/local/lib"
export CPPFLAGS="-I/usr/local/include"
Add packages:
apt-get install git autoconf automake libtool make gawk libreadline-dev \
- texinfo libpam0g-dev dejagnu libjson0 pkg-config libpam0g-dev \
- libjson0-dev flex python-pip
+ texinfo libpam0g-dev dejagnu libjson0-dev pkg-config libpam0g-dev \
+ libjson0-dev flex python-pip libc-ares-dev python3-dev
Install newer bison from 14.04 package source (Ubuntu 12.04 package source
is too old)
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \
Install required packages
-------------------------
-
+
Add packages:
apt-get install git autoconf automake libtool make gawk libreadline-dev \
texinfo dejagnu pkg-config libpam0g-dev libjson-c-dev bison flex \
- python-pytest
+ python-pytest libc-ares-dev python3-dev
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \
apt-get install git autoconf automake libtool make gawk libreadline-dev \
texinfo dejagnu pkg-config libpam0g-dev libjson-c-dev bison flex \
- python-pytest
+ python-pytest libc-ares-dev python3-dev
Get FRR, compile it and install it (from Git)
---------------------------------------------
git clone https://github.com/freerangerouting/frr.git frr
cd frr
- git checkout stable/2.0
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \