一 make 报错
1. 出现如下错误 :
cd src && make all
make[1]: Entering directory ‘/xx/xx/redis-x.x.x/src‘
CC adlist.o
/bin/sh: cc: command not found
make[1]: *** [adlist.o] Error 127
make[1]: Leaving directory ‘/xx/xx/redis-x.x.x/src‘
make: *** [all] Error 2
----------------------------------------------------------------------------------------------------------------------
解决方法:执行 yum -y install gcc-c++
2. 出现错误:[exception]: Executing test client: NOREPLICAS Not enough good slaves to write..
NOREPLICAS Not enough good slaves to write.
while executing.
----------------------------------------------------------------------------------------------------------------------
解决方法:修改当前目录文件tests/integration/replication-2.tcl,将after 1000改为after 10000以延长等待时间 重新测试
原文:https://www.cnblogs.com/tandy/p/10112595.html