cannot complie a package : c++11 language requires

i cannot compile a package from source code it's shows some error like below

 

configure: error: *** A compiler with support for C++11 language features is required.

 

when i check my gcc version i got 4.4.7

Tags: CentOS GCC
user image Author :   justinkimley
0

It might be you are running under older compiler version, so you must need to update your compiler version to solve this issue

sudo yum install centos-release-scl
sudo yum install devtoolset-7-gcc*
scl enable devtoolset-7 bash
which gcc
gcc --version
user image
parthiban March 28, 2018
Add comment