</para>
<para>STEP 2. Install libyang. Download libyang from
- https://github.com/CESNET/libyang/releases. As of writing this document, the latest
- version was 0.15-r1.
+ https://github.com/CESNET/libyang.git. Checkout the devel branch.
<screen>
- tar zxvf libyang-0.15-r1.tar.gz
- cd libyang-0.15-r1/
+ git clone https://github.com/CESNET/libyang.git
+ cd libyang
+ git checkout devel
mkdir build
cd build
cmake ..
For detailed build instructions, see https://github.com/CESNET/libyang/.</para>
- <para>STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases.
- As of writing this document, the 0.7.4 as the latest version.
+ <para>STEP 3. Install syrepo. Download sysrepo from
+ https://github.com/sysrepo/sysrepo.git. Checkout the devel branch.
+ If you want to develop code you should fix the C++ error handling
+ cf issue #1286 and pull request #1302.
<screen>
-tar zxvf sysrepo-0.7.4.tar.gz
-cd sysrepo-0.7.4
+git clone https://github.com/sysrepo/sysrepo.git
+cd sysrepo
+git checkout devel
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON\
To install the test module, issue the following command:
@verbatim
-sudo sysrepoctl --install --yang=src/lib/yang/tests/test-module.yang
+sudo sysrepoctl --install --yang=src/lib/yang/tests/keatest-module.yang
@endverbatim
To verify that you have the schemas installed, do this:
@verbatim
sysrepoctl -l
@endverbatim
-Make sure that test-module is on the list.
+Make sure that keatest-module is on the list.
*/