... | ... | @@ -53,7 +53,7 @@ $ sudo apt-get install bison build-essential cmake flex libavl-dev libev-dev \ |
|
|
libpcre3-dev libprotobuf-c-dev protobuf-c-compiler swig
|
|
|
```
|
|
|
|
|
|
STEP 2. Install libyang. Download libyang from https://github.com/CESNET/libyang/releases. The last version released during Kea development was 0.16-r2.
|
|
|
STEP 2. Install libyang. Download libyang from https://github.com/CESNET/libyang/releases. The last version tested with Kea 1.6.0 was libyang 1.0-r3.
|
|
|
|
|
|
```
|
|
|
tar zxvf libyang-0.16-r2.tar.gz
|
... | ... | @@ -67,11 +67,11 @@ sudo make install |
|
|
|
|
|
For detailed build instructions, see https://github.com/CESNET/libyang.
|
|
|
|
|
|
STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. The last version released during Kea development was 0.7.6. Note the sysrepo version is paired with the libyang one so when sysrepo is upgraded libyang must be upgraded before.
|
|
|
STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. The last version tested with Kea 1.6.0 was 0.7.8. Note the sysrepo version is paired with the libyang one so when sysrepo is upgraded libyang must be upgraded first.
|
|
|
|
|
|
```
|
|
|
tar zxvf sysrepo-0.7.6.tar.gz
|
|
|
cd sysrepo-0.7.6
|
|
|
tar zxvf sysrepo-0.7.8.tar.gz
|
|
|
cd sysrepo-0.7.8
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON \
|
... | ... | @@ -99,88 +99,13 @@ Package: |
|
|
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 |