安装reids的时候,用make test 测试,报错,需要tcl8.5 or newer,所以安装这个工具
redis安装后,不需要安装tcl8.5也是可以使用的
但是要使用Redis的测试用例也就是tests目录下面用的是tcl脚本,就需要安装tcl8.5 or newer
hadoop@stormspark:~/workspace/redis2.6.13/src$ make test
You need tcl 8.5 or newer in order to run the Redis test
make: *** [test] Error 1
make的时候可能有警告,不影响安装
- 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