redis-3.2.5 make 报错

 

 

make[1]: Entering directory `/usr/local/src/redis-3.2.5/src'
    CC adlist.o
In file included from adlist.c:34:
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 `/usr/local/src/redis-3.2.5/src'
make: *** [all] Error 2
加上参数:
make MALLOC=libc
问题解决

 

posted @ 2016-12-22 18:46  bass  阅读(986)  评论(0编辑  收藏  举报