redis 2.6.9安装报错解决

来源:互联网 发布:手机通讯软件下载 编辑:程序博客网 时间:2024/05/20 03:07
redis 2.6.9安装报错解决
 
zmalloc.h:50:31: 
 
error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: 
 
#error "Newer version of jemalloc required"
make[1]: *** [adlist.o] Error 
1
make[1]: Leaving directory `/data0/src/redis-2.6.2/src'
make: *** [all] 
Error 2
 
解决办法是:
 
make MALLOC=libc
0 0
原创粉丝点击