redis6 make报错

redis6安装需要gcc和tcl

yum install gcc
yum install tcl

另外,redis6需要新版本gcc,可按照如下方式更新gcc

yum -y install centos-release-scl

yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils

scl enable devtoolset-9 bash

echo "source /opt/rh/devtoolset-9/enable" >>/etc/profile

更新完后make

猜你喜欢

转载自blog.csdn.net/UZDW_/article/details/113566203