gpt4 book ai didi

运行 make 命令时,Redis 安装失败并显示 "Newer version of jemalloc required"

转载 作者:IT王子 更新时间:2023-10-29 05:56:30 28 4
gpt4 key购买 nike

运行 make 命令时,在 RHEL 上安装 Redis 失败。下面是输出

cd src && make all
make[1]: Entering directory `/root/Downloads/redis-3.2.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 `/root/Downloads/redis-3.2.0/src'
make: *** [all] Error 2

最佳答案

运行

make distclean

然后

make

解决了问题

关于运行 make 命令时,Redis 安装失败并显示 "Newer version of jemalloc required",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37103054/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com