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
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
相关文章推荐
- linux下redis的安装
- php+redis+mysql缓存文章总结
- distributed locks with redis,分布式锁在redis中的实现
- Linux 下 Redis 安装详解
- Linux下Redis服务器安装配置
- redis cluster部署
- centos安装redis
- 浅谈php的缓存机制之redis
- Redis 3.0 集群搭建
- 深入剖析Redis主从复制
- Redis启动多端口、运行多实例
- redis 一致性hash ,分布式存储
- 使用HAProxy、PHP、Redis和MySQL支撑10亿请求每周架构细节
- Ubuntu 安装 Redis(转的配置)
- 在Ubuntu中安装Redis
- Redis 分布式锁实现
- Redis 服务监控
- Redis源码研究:哈希表 - 蕫的博客
- Redis实战经验及使用场景
- Redis主键失效 - 原理及实现机制