... | @@ -81,3 +81,106 @@ sudo make install |
... | @@ -81,3 +81,106 @@ sudo make install |
|
```
|
|
```
|
|
|
|
|
|
For detailed instructions, see Build and Installation Steps Section on the project page https://github.com/sysrepo/sysrepo.
|
|
For detailed instructions, see Build and Installation Steps Section on the project page https://github.com/sysrepo/sysrepo.
|
|
|
|
|
|
|
|
Once Sysrepo is installed, you can proceed with Kea compilation:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ autoreconf -i
|
|
|
|
$ ./configure --with-sysrepo
|
|
|
|
|
|
|
|
[...]
|
|
|
|
|
|
|
|
Kea source configure results:
|
|
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
|
|
|
|
|
|
Package:
|
|
|
|
Name: kea
|
|
|
|
Version: 1.6.0-beta2-git
|
|
|
|
Extended version: 1.6.0-beta2-git (git 334f63d8a8015371f9fc490de5c177f742a97427)
|
|
|
|
OS Family: Linux
|
|
|
|
|
|
|
|
Prefix: /usr/local
|
|
|
|
Hooks directory: /usr/local/lib/kea/hooks
|
|
|
|
Premium hooks: no
|
|
|
|
|
|
|
|
C++ Compiler:
|
|
|
|
CXX: g++
|
|
|
|
CXX_VERSION: g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
|
|
|
|
CXX_STANDARD: 201402
|
|
|
|
DEFS: -DHAVE_CONFIG_H
|
|
|
|
CPPFLAGS: -DOS_LINUX
|
|
|
|
CXXFLAGS: -g -O2
|
|
|
|
LDFLAGS: -lpthread
|
|
|
|
KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC
|
|
|
|
|
|
|
|
Python:
|
|
|
|
PYTHON_VERSION: not needed (because kea-shell is disabled)
|
|
|
|
|
|
|
|
Boost:
|
|
|
|
BOOST_VERSION: 1.65.1
|
|
|
|
BOOST_INCLUDES:
|
|
|
|
BOOST_LIBS: -lboost_system
|
|
|
|
|
|
|
|
OpenSSL:
|
|
|
|
CRYPTO_VERSION: OpenSSL 1.1.1 11 Sep 2018
|
|
|
|
CRYPTO_CFLAGS:
|
|
|
|
CRYPTO_INCLUDES:
|
|
|
|
CRYPTO_LDFLAGS:
|
|
|
|
CRYPTO_LIBS: -lcrypto
|
|
|
|
|
|
|
|
Botan: no
|
|
|
|
|
|
|
|
Log4cplus:
|
|
|
|
LOG4CPLUS_VERSION: 1.1.2
|
|
|
|
LOG4CPLUS_INCLUDES: -I/usr/include
|
|
|
|
LOG4CPLUS_LIBS: -L/usr/lib -llog4cplus
|
|
|
|
|
|
|
|
Flex/bison:
|
|
|
|
FLEX: flex
|
|
|
|
BISON: /usr/bin/bison
|
|
|
|
|
|
|
|
MySQL:
|
|
|
|
no
|
|
|
|
|
|
|
|
PostgreSQL:
|
|
|
|
no
|
|
|
|
|
|
|
|
Cassandra CQL:
|
|
|
|
no
|
|
|
|
|
|
|
|
Sysrepo:
|
|
|
|
SYSREPO_VERSION: 0.7.8
|
|
|
|
SYSREPO_CPPFLAGS: -I/usr/local/include
|
|
|
|
SYSREPO_LIBS: -L/usr/local/lib -lsysrepo -L/usr/local/lib -lSysrepo-cpp
|
|
|
|
SYSREPO_REPO: /home/thomson/devel/sysrepo-0.7.8/build/repository
|
|
|
|
|
|
|
|
Google Test:
|
|
|
|
no
|
|
|
|
|
|
|
|
Google Benchmark:
|
|
|
|
no
|
|
|
|
|
|
|
|
Developer:
|
|
|
|
Enable Debugging: no
|
|
|
|
Google Tests: no
|
|
|
|
Google Benchmark: no
|
|
|
|
Valgrind: not found
|
|
|
|
C++ Code Coverage: no
|
|
|
|
Logger checks: no
|
|
|
|
Generate Documentation: no
|
|
|
|
Generate Parser: no
|
|
|
|
Generate Messages Files: no
|
|
|
|
Perfdhcp: no
|
|
|
|
Kea-shell: no
|
|
|
|
|
|
|
|
Now you can type "make" to build Kea. Note that if you intend to
|
|
|
|
run "make check", you must run "make" first as some files need to be
|
|
|
|
generated by "make" before "make check" can be run.
|
|
|
|
|
|
|
|
When running "make install" do not use any form of parallel or job
|
|
|
|
server options (such as GNU make's -j option). Doing so may cause
|
|
|
|
errors.
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
You are now ready to compile kea. Use `make` or `make -j<number-of-cpu-cores>`. |
|
|
|
\ No newline at end of file |