Centos7 安装Redis遇到问题:You need tcl 8.5 or newer in order to run the Redis test 解决办法

原因:缺少tcl脚本语言支持,Redis的测试用例也就是tests目录下面用的是tcl脚本

解决方法1:

    下载安装tcl

  1.        wget http://downloads.sourceforge.net/tcl/tcl8.6.8-src.tar.gz
  2.        tar xzvf tcl8.6.8-src.tar.gz (我解压到usr/local/下的)
  3.        cd  /usr/local/tcl8.6.8/unix/
  4.    ./configure
  5.    make
  6.    make install

解决办法2:

    make clean,再make,再make install就可以了

猜你喜欢

转载自blog.csdn.net/Yanci_/article/details/79959388