redis安装报错

in web with 0 comment
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

转自:http://sxm-0929.blog.163.com/blog/static/418025572013021115348108/

Responses