error: jemalloc/jemalloc.h: No such file or directory
2015-06-06 14:31
459 查看
make redis时提示error: jemalloc/jemalloc.h: No such file or directory等一系列错误,经查是make时需要指定MALLOC=libc
make MALLOC=libcreadme中有以下内容
make MALLOC=libcreadme中有以下内容
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
相关文章推荐
- 分治法 --- 大整数的乘法
- 欢迎使用CSDN-markdown编辑器
- Variable shadowing
- DevExpress中GridControl中添加编辑按钮行
- 【php】php中的回调函数使用心得 - 2
- H2.64中I帧和IDR帧的区别
- XMPP学习总结
- 解决端口被占用而导致软件运行失败,程序无法启动,无法安装开发工具等问题
- ios 三级控制器 标签栏
- WinCE下开发程序常见问题
- 我的电脑(ACER 4750G)升级
- 25款最佳响应式前端开发框架
- 【VB.NET机房重构】编程注释
- 时间戳
- hdu 2049 不容易系列之(4)——考新郎
- 互联网搜索广告介绍(一)
- 父类引用指向子类对象
- 常用排序算法
- mysql忘记root密码怎么办
- c++运算符重载笔记