[kea-dev] configure: error: Linking with -lboost_system is not enough: please make sure libboost_system is installed
Francis Dupont
fdupont at isc.org
Tue Sep 29 15:17:01 UTC 2015
> Okay, I had saw new docs earlier and was confused:
>
> When header-only Boost error code is not available or wanted, the
> Boost system library is required too.
>
> What does "wanted" mean here?
=> you don't want to use the heaer-only version, for instance because
it doesn't work well, e.g., Fedora 22.
> As an example with a 1.54.0 install of boost headers, the configure
> fails with:
=> it should not fail but unfortunately it is not possible to catch
all failure cases.
> In file included from conftest.cpp:41:
> /udir/jreed/pkg/include/boost/system/error_code.hpp:516:54:
> boost/../libs/system/src/error_code.cpp: No such file or directory
=> this is the standard way for the header-only error code to fail
(it happens on all old versions of boost).
> How to get this header-only Boost error code support?
=> recent enough boost version.
> What version of boost provides it with headers-only?
=> this info is in the 4009 ticket. I believe it is >= 1.56.0.
> (How can we improve this documentation?)
=> find all supported systems where configure can't get working parameters
and update the per-system wiki pages. Note the most frequent case is
the libboost_system not installed and after it is the library is installed
on a not standard location.
Regards
Francis Dupont <fdupont at isc.org>
More information about the kea-dev
mailing list