ITPub博客

首页 > 数据库 > NoSQL > You need tcl 8.5 or newer in order to run the Redis test

You need tcl 8.5 or newer in order to run the Redis test

原创 NoSQL 作者:chenoracle 时间:2020-05-26 22:49:52 0 删除 编辑

Redis 3.0.2 安装报错You need tcl 8.5 ...

DB:Redis 3.0.2

OS:Centos 7.5


错误:

[root@cjcos01 src]# make test

You need tcl 8.5 or newer in order to run the Redis test

make: *** [test] Error 1

解决方案:

[root@cjcos01 local]# wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz 

[root@cjcos01 local]# ll -rth tcl8.6.1-src.tar.gz 

-rw-r--r-- 1 root root 8.4M Sep 20  2013 tcl8.6.1-src.tar.gz

[root@cjcos01 local]# tar -zxvf tcl8.6.1-src.tar.gz 

[root@ cjcos01 local]# cd  /usr/local/tcl8.6.1/unix/  

[root@ cjcos01 local]#  ./configure  

[root@ cjcos01 local]#  make  

[root@ cjcos01 local]#  make install

再次安装redis

[root@ cjcos01 src]# make test 

[root@ cjcos01 src]# make install 

[root@ cjcos01 src]# pwd

/usr/local/redis/src

[root@ cjcos01 src]# ./redis-server ../config/redis.conf 

[root@ cjcos01 src]# ./redis-cli 

127.0.0.1:6379> set hello world

OK

127.0.0.1:6379> get hello

"world"


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29785807/viewspace-2694526/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle ACE、OCMU 用户组成员、Oracle 11g OCM、微信公众号"IT小Chen"

注册时间:2014-08-05

  • 博文量
    853
  • 访问量
    2727927