Home >Database >Mysql Tutorial >redis 2.6.9安装报错解决

redis 2.6.9安装报错解决

WBOY
WBOYOriginal
2016-06-07 14:58:251381browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn