Using devtools-6 SCL on CentOS 7.4

Posted on
programming nifi minifi centos

Compiling Apache MiNiFi - C++ 1 with Lua support requires a newer compiler than GCC 4.8, which is what CentOS 7.4 includes. The GCC 6.x compiler is supported, and can be installed via SCL:

yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install devtoolset-6
scl enable devtoolset-6 bash
# Now follow usual build instructions