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 ,出现以下就是成功了

     

posted @ 2018-09-11 18:11  人间值得  阅读(633)  评论(0编辑  收藏  举报