Trouble building 1.5.0beta1 Sysrepo plugin


#1

Hi,

I’ve been trying to build this to test Sysrepo integration, and the build fails as follows:

make[2]: Entering directory ‘/root/kea-1.5.0-beta1/src/bin/netconf’
CXX control_socket.lo
CXX http_control_socket.lo
CXX stdout_control_socket.lo
CXX unix_control_socket.lo
CXX netconf.lo
In file included from netconf.cc:12:0:
…/…/…/src/bin/netconf/netconf.h:17:10: fatal error: sysrepo-cpp/Session.h: No such file or directory
#include <sysrepo-cpp/Session.h>
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The referenced Session.h is not part of the Kea source. I’m also unable to find the file in the source for sysrepo, netopeer2 or any of the other dependencies.

Any help on how to build greatly appreciated.

Thanks,
Ian


#2

What version of Sysrepo are you using? I’ve built successfully with v0.7.5 as noted here: https://kb.isc.org/docs/kea-build-on-centos

That post also shows the various versions of dependancies that I’ve had luck with.

I’m very interested in your findings.