安装redis时进行测试,确认Redis的功能是否正常。
make test
然后报错如下:
make[1]: 进入目录“/usr/local/redis/src”
You need tcl 8.5 or newer in order to run the Redis test
Makefile:225: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: 离开目录“/usr/local/redis/src”
Makefile:6: recipe for target 'test' failed
make: *** [test] E

在Ubuntu 18.04上安装Redis并尝试运行`make test`时遇到错误提示需要Tcl 8.5或更高版本。解决方法是通过安装Tcl来解决问题,从而顺利完成Redis的测试。
最低0.47元/天 解锁文章
731

被折叠的 条评论
为什么被折叠?



