Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Build error with Boost 1.72: no member named 'end' in namespace 'boost'; did you mean simply 'end'? #7731
Describe the bug
On MacOS 387c2c8 fails to build with the error quoted above.
mkdir -p build2-osx cd build2-osx cmake \ "-DCMAKE_INSTALL_PREFIX=$(dirname "$(pwd)")/prefix2-osx" \ "-DICINGA2_USER=$(whoami)" \ -DICINGA2_GROUP=staff \ -DICINGA2_COMMAND_GROUP=staff \ "-DICINGA2_PLUGINDIR=$(dirname "$(pwd)")/prefix-osx/usr/lib/nagios/plugins" \ -DICINGA2_WITH_MYSQL=OFF \ -DICINGA2_WITH_PGSQL=OFF \ -DBoost_NO_BOOST_CMAKE=ON \ .. make -j2 install
MacOS 10.15.2 with brew
I actually switched to boost 1.66, but this may hit us sooner or later on Linux, too.
In order to fix the development environment on macOS until 1.73 is released: