![]() |
libnetconf
0.10.0-146_trunk
NETCONF Library
|
As written on libnetconf's Google Code page, the repository can be cloned using the following command:
Before compiling the source code make sure that your system provides the following libraries or applications. Some of them are optional or can be avoided in cost of missing of some feature - see the notes for the specific item. All requirements are checked by the configure script.
--disable-libssh option, but in that case a standalone SSH client (usually from the openSSH) is required. For more details, see --disable-libssh description.--disable-url option, but in that case the NETCONF :url capability is disabled.--enable-tls option. More information about the TLS transport can be found in Transport Protocol section.make doc)make rpm)libnetconf uses standard GNU Autotools toolchain. To compile and install libnetconf you have to go through the following three steps:
This way the library will be installed in /usr/local/lib/ (or lib64) and /usr/local/include/ respectively.
configure script supports the following options. The full list of the accepted options can be shown by --help option.
--disable-libsshlibssh library. By default, the libssh library is used by the client side functions to create SSH connection to a remote host. If the usage of the libssh is disabled, libnetconf will use a standalone ssh(1) client located in a system path. ssh(1) client is, for example, part of the OpenSSH. This option has no effect for server-side functionality.--disable-notifications--disable-url--disable-validation--disable-yang-schemas--enable-debug--enable-tls--with-pyapi[=path_to_python3]--with-nacm-recovery-uid=<uid>--with-workingdir=<path>/var/lib/libnetconf/. Note that applications using libnetconf should have permissions to read/write to this path, with --with-suid and --with-sgid this is set automatically.--with-suid=<user>--with-sgid option. If neither --with-suid nor --with-sgid option is specified, full access rights for all users are granted.--with-sgid=<group>--with-suid option. If neither --with-suid nor --with-sgid option is specified, full access rights for all users are granted.--with-suid or --with-sgid options, the proper suid or/and sgid bit should be set to the server-side application binaries that use the libnetconf library.