make clean
redis编译失败可能是:
1.未安装gcc,gcc-c++
yum install gcc
yum install gcc-c++
2.未安装tcl
yum install tcl
[devnote@devnote src]$ make test
You need tcl 8.5 or newer in order to run the Redis test
make: ***[test] Error_1
解决办法是用yum安装tcl8.5(或去tcl的官方网站http://www.tcl.tk/下载8.5版本,并参考官网介绍进行安装)
yum install tcl