mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:26:14 +00:00
docs: document libyang build magic (from Martin) for centos 6
Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
9c23deece2
commit
56ddff042a
@ -116,7 +116,19 @@ Update rpm database & Install newer sphinx
|
||||
sudo yum update
|
||||
sudo yum install python27-sphinx
|
||||
|
||||
.. include:: building-libyang.rst
|
||||
Install libyang and its dependencies:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
sudo yum install pcre-devel doxygen cmake
|
||||
git clone https://github.com/CESNET/libyang.git
|
||||
cd libyang
|
||||
git checkout 090926a89d59a3c4000719505d563aaf6ac60f2
|
||||
mkdir build ; cd build
|
||||
cmake -DENABLE_LYD_PRIV=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -D CMAKE_BUILD_TYPE:String="Release" ..
|
||||
make build-rpm
|
||||
sudo yum install ./rpms/RPMS/x86_64/libyang-0.16.111-0.x86_64.rpm ./rpms/RPMS/x86_64/libyang-devel-0.16.111-0.x86_64.rpm
|
||||
cd ../..
|
||||
|
||||
Get FRR, compile it and install it (from Git)
|
||||
---------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user