Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”问题解决
You need tcl 8.5 or newer in order to run the Redis test
Makefile:225: recipe for target ‘test’ failed
make[1]: *** [test] Error 1
make[1]: 离开目录“/usr/local/redis/src”
Makefile:6: recipe for target ‘test’ failed
make: *** [test] Error 2
wget https://downloads.sourceforge.net/tcl/tcl8.6.10-src.tar.gz(默认下载到当前路径)
sudo tar xzvf tcl8.6.10-src.tar.gz -C(指定解压目录)/usr/local/(该目录可自己选定)
cd /usr/local/tcl8.6.10/unix/
sudo ./configure
sudo make(编译)
sudo make install(安装)
然后进入到redis目录下 运行 sudo make test
成功运行