Redis安装过程jemalloc/jemalloc.h报错

问题:

[root@localhost redis-3.0.0]# make
cd src && make all
make[1]: Entering directory `/data/redis-3.0.0/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 `/data/redis-3.0.0/src'
make: *** [all] Error 2
 

解决方法:

# cd deps/

# make hiredis jemalloc linenoise lua geohash-int

#cd ..

#make

原文地址:https://www.cnblogs.com/coder306/p/13087607.html