加入收藏 | 设为首页 | 会员中心 | 我要投稿 台州站长网 (https://www.0576zz.cn/)- 边缘计算、中间件、数据处理、数据分析、智能存储!
当前位置: 首页 > 综合聚焦 > CentOS > 正文

CentOS 6.5 安装 Redis 执行 make #error Newer version of jemalloc

发布时间:2020-11-17 06:50:53 所属栏目:CentOS 来源:互联网
导读:CentOS 6.5 安装 Redis 执行 make #error Newer version of jemalloc required 安装过程参考:CentOS 6.5下Redis安装记录 根据你系统安装时或之后安装的选项的情况,可能在安装的过程中遇到不同的问题; 就像今天遇到的一台机器,安装时出现 /bin/sh:cc:comma

CentOS 6.5 安装 Redis 执行 make #error "Newer version of jemalloc required"

安装过程参考:CentOS 6.5下Redis安装记录

根据你系统安装时或之后安装的选项的情况,可能在安装的过程中遇到不同的问题;

就像今天遇到的一台机器,安装时出现

  1. /bin/sh:cc:commandnotfound
的错误,解决之后又出现这里说的问题;
[root@localhost redis-3.2.0]# make
cd src && make all
make[1]: Entering directory `/opt/redis-3.2.0/src'
    CC adlist.o
在包含自 adlist.c:34 的文件中:
zmalloc.h:50:31: 错误:jemalloc/jemalloc.h:没有那个文件或目录
zmalloc.h:55:2: 错误:#error "Newer version of jemalloc required"
make[1]: *** [adlist.o] 错误 1
make[1]: Leaving directory `/opt/redis-3.2.0/src'
make: *** [all] 错误 2
解决方法:
make MALLOC=libc

(编辑:台州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读