... | ... | @@ -154,11 +154,13 @@ tar zxvf libyang-1.0.240.tar.gz |
|
|
cd libyang-1.0.240
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake ..
|
|
|
cmake -DGEN_LANGUAGE_BINDINGS=1 -DGEN_CPP_BINDINGS=1 -DGEN_PYTHON_BINDINGS=0 ..
|
|
|
make
|
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
Note: Feel free to enable bindings for other languages. However, Kea only uses bindings for C++, so enabling python bindings would just introduce unnecessary dependencies.
|
|
|
|
|
|
For detailed build instructions, see https://github.com/CESNET/libyang.
|
|
|
|
|
|
**STEP 2**. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. The last version tested with Kea 1.9.10 was 0.7.8. Note the sysrepo version is paired with the libyang one so when sysrepo is upgraded libyang must be upgraded first.
|
... | ... | |