[Kea-users] Configure 1.4 on CentOS 7.5

Tomek Mrugalski tomasz at isc.org
Tue Sep 18 18:15:48 UTC 2018


On 18/09/2018 17:10, Ricardo J. Barberis wrote:
> CentOS 7.x boost is too old for Kea 1.4, for more info and .spec files check 
> out https://github.com/RasmusEdgar/kea-centos-srpms
> 
> Kea devs, could you update the installation notes?
Kea users, can *you* update the installation notes? We're busy working
on the code.

On a slightly more serious note, Kea is developed by a small team of
developers. There's only few of us. On the other hand, there are
hundreds of users. As of today, there are over 350 people signed on this
list alone. We would appreciate a lot helping with things like updating
distro specific installation notes (and perhaps writing new ones for the
distros that are not covered yet), sharing some good config examples
with comments and other things of similar nature.

As for the specific case that Ismael reported, Ricardo is right. I
thought it may be useful describe how to find what's exactly going on in
cases like this. The config.log that was attached contains this error:

configure:18859: result: no
configure:18859: checking boost/asio/coroutine.hpp presence
configure:18859: g++ -E  -DOS_LINUX conftest.cpp
conftest.cpp:37:36: fatal error: boost/asio/coroutine.hpp: No such file
or directory
 #include <boost/asio/coroutine.hpp>
                                    ^
compilation terminated.

The boost version included in CentOS is simply too old for Kea 1.4 as it
doesn't have coroutine. On retrospection, we should have probably kept
the coroutine header in kea sources a little bit longer.

Rasmus created his packages (thanks a lot for your work, it's much
appreciated!) with boost 1.57. Our installation instructions for Radius
were tested on boost 1.65. See section 14.4.8
(https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#hooks-radius)
if you want to install boost from sources.

I also recall that if you try to install a Boost from sources that are
too new you may hit another problem. The compiler on CentOS 7.4 was too
old and it was not able to compile boost 1.68. Perhaps this has changed
in 7.5.

Tomek



More information about the Kea-users mailing list