流程大致为Redis安装
其中需要注意,当重新安装了gcc后,执行make install会报
error "Newer version of jemalloc required"
这时候,根据解决方案,make时添加参数。
make MALLOC=libc
顺利完成,执行make test后,报错
You need tcl 8.5 or newer in order to run the Redis test
使用如下方法:
wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
cd /usr/local/tcl8.6.1/unix/
./configure
make
make install
-------
完成后,make test通过
All tests passed without errors!