configure can not find boost regex: configure: error: boost regex is not found; consider using CPPFLAGS/LDFLAGS or --with-boost=DIR to specify its location
Created attachment 492676 [details] build.log
Created attachment 492678 [details] config.log
Can confirm. libcutl wants to use tr1 versions of boost regex headers but these have been removed in boost 1.65. Simplest way to get around the error would be to allow libcutl to use its bundled boost.
Created attachment 492740 [details, diff] use bundled boost
*** Bug 630014 has been marked as a duplicate of this bug. ***
to use the bundled boost may be a workaround, but now what we want to do in the official tree.
The patch in freebsd seems simple enough. It just changes the code to use standard c++ regexes instead of boost tr1 wrappers which are gone with 1.65 https://svnweb.freebsd.org/ports/head/devel/libcutl/files/patch-cutl_re_re.cxx?view=markup&pathrev=445764
(In reply to Urmet Saar from comment #7) > The patch in freebsd seems simple enough. It just changes the code to use > standard c++ regexes instead of boost tr1 wrappers which are gone with 1.65 > > https://svnweb.freebsd.org/ports/head/devel/libcutl/files/patch-cutl_re_re. > cxx?view=markup&pathrev=445764 I see this as the only option. It's 2017, and it's good that Boost is cleaning up with this TR1 cruft. Using the bundled boost is *not* an option.
Bug has been closed via the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7deaa00a74a445c4147d3dcd5df94f9f9b5418a commit b7deaa00a74a445c4147d3dcd5df94f9f9b5418a Author: David Seifert <soap@gentoo.org> AuthorDate: 2017-09-06 22:46:27 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-09-06 22:46:46 +0000 dev-cpp/libcutl: Use std::regex over boost::regex * boost-1.65.0 has removed TR1 support. It's 2017 and we can use C++11's <regex> support now. Closes: https://bugs.gentoo.org/show_bug.cgi?id=630016 Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../files/libcutl-1.10.0-boost-1.65-tr1.patch | 162 +++++++++++++++++++++ dev-cpp/libcutl/libcutl-1.10.0.ebuild | 16 +- 2 files changed, 175 insertions(+), 3 deletions(-)
It actually looks to me like the only use of boost in libcutl is for the regex wrappers and whole boost dependency could be dropped.