您的位置:首页 > 数据库 > Redis

redis安装报错

2015-07-09 22:33 567 查看
在centos6.6 x86_64安装redis的报错及解决方法:

1、make的时候注意:
如果make的时候提示如下错误:
cc: error: ../deps/hiredis/libhiredis.a: No such file or directorycc: error: ../deps/lua/src/liblua.a: No such file or directorycc: error: ../deps/jemalloc/lib/libjemalloc.a: No such file or directorymake: *** [redis-server] Error 1则进入redis下的deps下的运行如下命令,就OK了。 make lua hiredis linenoise

2、make test的时候注意:
[root@openstack-control redis-3.0.2]# make test
cd src && make test
make[1]: Entering directory `/root/redis-3.0.2/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/redis-3.0.2/src'
make: *** [test] Error 2
则yum install tcl即可。

3、make PREFIX=/usr/local/redis install

本文出自 “秋天的童话” 博客,请务必保留此出处http://wushank.blog.51cto.com/3489095/1672697
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: