标签:tcl bsp chm [1] 变量 null red jemalloc from
我报错是这样子的,然后老师打了一条命令
[root@WEB redis-3.0.6]# make
cd src && make all
make[1]: 进入目录“/root/lnmp_soft/redis-3.0.6/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]: 离开目录“/root/lnmp_soft/redis-3.0.6/src”
make: [all] 错误 2
命令如下
[root@WEB redis-3.0.6]# make MALLOC=libc
cd src && make all
make[1]: 进入目录“/root/lnmp_soft/redis-3.0.6/src”
rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-dump redis-check-aof .o .gcda .gcno.gcov redis.info lcov-html
(cd ../deps && make distclean)
make[2]: 进入目录“/root/lnmp_soft/redis-3.0.6/deps”
(cd hiredis && make clean) > /dev/null || true
MALLOC这个环境变量用来去建立Redis的
In file included from adlist.c:34:0: zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录
标签:tcl bsp chm [1] 变量 null red jemalloc from
原文地址:https://www.cnblogs.com/Ai-Hen-Jiao-zhi/p/10127731.html