编译Redis出错
来源:互联网 发布:mac os win10双系统 编辑:程序博客网 时间:2024/06/06 12:52
make编译出错
makezmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [adlist.o] Error 1make[1]: Leaving directory `/data0/src/redis-2.6.2/src'make: *** [all] Error 2
使用即可
make MALLOC=libc
查看readme
Selecting a non-default memory allocator when building Redis is done by setting
the `MALLOC` environment variable. Redis is compiled and linked against libc
malloc by default, with the exception of jemalloc being the default on Linux
systems. This default was picked because jemalloc has proven to have fewer
fragmentation problems than libc malloc.
To force compiling against libc malloc, use:
% make MALLOC=libc
To compile against jemalloc on Mac OS X systems, use:
% make MALLOC=jemalloc
默认使用jemalloc参数编译,但如果当前服务器没有jemalloc就只有使用参数libc
0 0
- 编译Redis出错
- 编译redis源码出错
- 【redis编译】Redis 2.8.18 编译出错
- 编译出错
- 编译出错
- Redis远程连接出错
- 连接redis出错
- redis编译出错:jemalloc/jemalloc.h: No such file or directory
- 编译redis
- 编译 java 出错
- eclipse编译出错,为什么?
- 编译出错处理
- vc++ 编译时候出错
- 编译java文件出错
- glic 编译出错
- VC++编译出错
- 编译busybox出错
- QtE编译出错解决
- 【Android学习笔记】ImageView.ScaleType设置图解
- Android进程间通信(IPC)机制Binder简要介绍和学习计划
- boost日志使用说明
- C/C++字符串总结
- Swift 引用计数总结 Strong,Weak, unowned 简单使用
- 编译Redis出错
- 一个可能有用的Python+MQL4混合编程网址
- 界面元模板构件
- Bitmap
- 是否可以删除一个字母之后变成回文串
- Cocos Creator 之 Button使用小结
- 浅谈web应用的负载均衡、集群、高可用(HA)解决方案
- 关于微信架构介绍的文章
- python测试用例覆盖率工具coverage教程(命令行工具)(译)