redis 使用 make 命令编译出现 zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录 的错误:
1 2 3 4 5 6 7 8 9 10 11 12
[logan@localhost redis-4.0.8]$ make cd src && make all make[1]: 进入目录“/home/logan/data/setups/redis-4.0.8/src” CC adlist.o In file included from adlist.c:34:0: zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录 #include <jemalloc/jemalloc.h> ^ 编译中断。 make[1]: *** [adlist.o] 错误 1 make[1]: 离开目录“/home/logan/data/setups/redis-4.0.8/src” make: *** [all] 错误 2