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