报错内容:
make[1]: Leaving directory `/root/software/redis-4.0.9/src' make[1]: Entering directory `/root/software/redis-4.0.9/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory `/root/software/redis-4.0.9/src' make: *** [test] Error 2
|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 5 6 | make[1]: Leaving directory `/root/software/redis-4.0.9/src' make[1]: Entering directory `/root/software/redis-4.0.9/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory `/root/software/redis-4.0.9/src' make: *** [test] Error 2 |
解决办法:上面已经给了提示,需要安装tcl8.5或更高的版本才能运行测试
yum install tcl -y
|---|--------------------| | 1 | yum install tcl -y |