Redis 安装失败,“需要较新版本的 jemalloc"运行 make 命令时 [英] Redis Installation fails with "Newer version of jemalloc required" when running make command
本文介绍了Redis 安装失败,“需要较新版本的 jemalloc"运行 make 命令时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行 make 命令时,在 RHEL 上安装 Redis 失败.下面是输出
Redis installation on RHEL fails when running make command. Below is the output
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
解决了问题
这篇关于Redis 安装失败,“需要较新版本的 jemalloc"运行 make 命令时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文