redis源码安装出现fatal error: jemalloc/jemalloc.h: No such file or directory
2017-10-13 17:37
811 查看
最新版redis安装可能出现错误,如图所示:
解决办法可以参考README.md,使用make MELLOC=libc来编译,如下图所示:
编译通过
附上README.md关于Allocator的说明:
Allocator
---------
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
解决办法可以参考README.md,使用make MELLOC=libc来编译,如下图所示:
编译通过
附上README.md关于Allocator的说明:
Allocator
---------
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
相关文章推荐
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- redis-3.0.7 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- 【Redis】编译错误zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory
- 10035---redis-3.0.7 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- 安装pycrypto出现“fatal error: Python.h: No such file or directory”错误
- 编译Busybox时,出现错误fatal error: curses.h: No such file or directory
- 出现问题:fatal error: ltdl.h: No such file or directory