首页 >数据库 >mysql教程 >redis 2.6.9安装报错解决

redis 2.6.9安装报错解决

WBOY
WBOY原创
2016-06-07 14:58:251393浏览

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.

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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn