Linux安装Redis后,make test出现You need tcl 8.5 or newer in order to run the Redis test”问题

1 安装之后,进入Redis根目录下的src下,输入make test,出现

[root@localhost src]# make test
You need tcl 8.5 or newer in order to run the Redis test
make: *** [test] Error 1

2 解决的方法:

      输入以下的命令

wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz  
tar xzvf tcl8.6.1-src.tar.gz  -C /usr/local/  
cd  /usr/local/tcl8.6.1/unix/  
./configure  
make  
make install

3 运行make test ,出现以下就是成功了

     

原文地址:https://www.cnblogs.com/t0404/p/10290943.html