type: gcc --version
if you install gcc version upper than 4.8 you need to type this:
type this :
scl enable devtoolset-7 bash
the no 7 represent your gcc version it depends in what version you are using , you can check it by typing gcc --version
then
./configure
make clean
make server