CentOS Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”问题解决
在編譯Redis的時候成功之后,提示“Hint: It's a good idea to run 'make test' ;)”,我們可以運行測試,確認Redis的功能是否正常。
?
[root@jeespring redis-5.0.7]# make && make test
接著出現報錯:
解決方式
1、CentOS 7 安裝tcl-8.5.13-8.el7.x86_64.rpm
wget?http://mirror.centos.org/centos/7/os/x86_64/Packages/tcl-8.5.13-8.el7.x86_64.rpm
rpm -ivh?tcl-8.5.13-8.el7.x86_64.rpm
?2、CentOS 8 安裝?tcl-8.6.8-2.el8.x86_64.rpm
wget?http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/tcl-8.6.8-2.el8.x86_64.rpm
rpm -ivh?tcl-8.6.8-2.el8.x86_64.rpm
??重新運行make && make test
附:下面是網上提供的辦法:
wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz ?
sudo tar xzvf tcl8.6.1-src.tar.gz ?-C /usr/local/ ?
cd ?/usr/local/tcl8.6.1/unix/ ?
sudo ./configure ?
sudo make ?
sudo make install ??
總結
以上是生活随笔為你收集整理的CentOS Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 货物进出库软件
- 下一篇: Tensorflow—TFRecord文