Project

General

Profile

Feature #9474

ISC Kea 1.3.0

Added by r a over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-04-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

ISC DHCP is being replaced by ISC Kea so features like DHCP Failover for IPv6 only appear in ISC Kea.
Can ISC Kea 1.3.0 be added so that the choice is available.

History

#1

Updated by r a over 1 year ago

When attempting to build ISC Kea on OpenIndiana Hipster illumos-47b8d4b884 the standard repository packages can be used to attempt to build ISC Kea 1.3.0 except log4cplus 2.0.0 which can be built using the following

$ CC=gcc CXX=g++ CFLAGS='-m64 -O3' CXXFLAGS=-m64 LDFLAGS='-m64' PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr --mandir=/usr/share/man --bindir=/usr/sbin --libdir=/usr/lib --enable-static=no --with-iconv --disable-threads

When attempting to build logclplus as a multi-threaded version the build fails as it can not find threadpool.h file.

When building ISC Kea 1.3.0 with the following

$ CC=gcc CXX=g++ CFLAGS='-m64 -O3' CXXFLAGS=-m64 LDFLAGS='-m64' PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr --mandir=/usr/share/man --bindir=/usr/sbin --libdir=/usr/lib/kea --enable-static=no --enable-generate-docs

The build fails with the following error

gmake5: Entering directory '/tmp/kea-1.3.0/src/lib/log'
CXX libkea_log_la-logimpl_messages.lo
CXX libkea_log_la-log_dbglevels.lo
CXX libkea_log_la-log_formatter.lo
CXX libkea_log_la-logger.lo
CXX libkea_log_la-logger_impl.lo
CXX libkea_log_la-logger_level.lo
CXX libkea_log_la-logger_level_impl.lo
logger_level_impl.cc: In static member function 'static void isc::log::LoggerLevelImpl::init()':
logger_level_impl.cc:205:65: error: invalid conversion from 'isc::log::LoggerLevelImpl::LogLevelString ()(log4cplus::LogLevel) {aka std::__cxx11::basic_string<char> ()(int)}' to 'log4cplus::LogLevelToStringMethod {aka const std::__cxx11::basic_string<char>& ()(int)}' [-fpermissive]
manager.pushToStringMethod(LoggerLevelImpl::logLevelToString);
^
In file included from /usr/include/log4cplus/logger.h:34:0,
from logger_level_impl.cc:12:
/usr/include/log4cplus/loglevel.h:160:14: note: initializing argument 1 of 'void log4cplus::LogLevelManager::pushToStringMethod(log4cplus::LogLevelToStringMethod)'
void pushToStringMethod(LogLevelToStringMethod newToString);
^~~~~~~~~~~~~~~~
gmake5:
[Makefile:690: libkea_log_la-logger_level_impl.lo] Error 1
gmake5: Leaving directory '/tmp/kea-1.3.0/src/lib/log'
gmake4:
[Makefile:828: all-recursive] Error 1
gmake4: Leaving directory '/tmp/kea-1.3.0/src/lib/log'
gmake3: *
* [Makefile:409: all-recursive] Error 1
gmake3: Leaving directory '/tmp/kea-1.3.0/src/lib'

Also available in: Atom PDF