... | ... | @@ -170,13 +170,13 @@ tar zxvf sysrepo-1.4.140.tar.gz |
|
|
cd sysrepo-1.4.140/
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON \
|
|
|
-DGEN_PYTHON_BINDINGS=OFF -DENABLE_TESTS=OFF ..
|
|
|
cmake -DGEN_LANGUAGE_BINDINGS=1 -DGEN_CPP_BINDINGS=1 \
|
|
|
-DGEN_PYTHON_BINDINGS=0 -DENABLE_TESTS=0 ..
|
|
|
make
|
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
Note sysrepo has many more compilation flags that may be considered, including storage location, access permissions and more. For detailed instructions, see Build and Installation Steps Section on the project page https://github.com/sysrepo/sysrepo.
|
|
|
Note: Sysrepo has many more compilation flags that may be considered, including storage location, access permissions and more. For detailed instructions, see Build and Installation Steps Section on the project page for libyang 1.x: https://github.com/sysrepo/sysrepo/tree/libyang1.
|
|
|
|
|
|
**STEP 3**: Configure kea's `sysrepo_config` tool. Copy file `tools/sysrepo_config_defines.sh.sample` to `tools/sysrepo_config_defines.sh` and edit `LIBYANG_PATH` and `SYSREPO_PATH` variables. If both were installed in the default locations, the file should contain the following:
|
|
|
```
|
... | ... | |