Cmake error to install

Hi, the information you provided is not enough to let us help you. Please provide the full output since CMake configure step. For example, ROOT does not support yet C++17 builds. I regularly use GCC 7.2.0 and have no problems building ROOT recently.