安装redis服务器时,执行sudo make test时出现错误
You need tcl 8.5 or newer in order to run the Redis test
Makefile:225: recipe for target ‘test’ failed
make: * [test] Error 1
提示需要安装tcl,解决方法如下
- wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
- udo 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
安装成功后再执行sudo make test即可`