If you are trying to execute a ‘configure’ script but it generates a ‘Boost’ error like the one shown below, it usually means that you need to install the ‘Boost’ library.
configure: We could not detect the boost libraries (version x or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>
The solution (for Debian and Ubuntu systems):
sudo apt install libboost-all-dev