Ubuntu下的redis安装过程

安装Redis服务器执行sudo make test时出错,提示需要安装tcl 8.5或更新版本。解决方法是下载tcl源码包,解压到指定目录,依次执行配置、编译和安装命令,安装成功后再执行sudo make test即可。

 

 

Redis make test Errors? - Stack Overflow  https://stackoverflow.com/questions/48425998/redis-make-test-errors

安装redis服务器时,执行sudo make test时出现错误 - maChao_97的博客 - 优快云博客  https://blog.youkuaiyun.com/maChao_97/article/details/79405773

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
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
安装成功后再执行sudo make test即可`

---------------------
作者:maChao_97
来源:优快云
原文:https://blog.youkuaiyun.com/maChao_97/article/details/79405773
版权声明:本文为博主原创文章,转载请附上博文链接!

转载于:https://www.cnblogs.com/tongongV/p/10927911.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值