Redis | Recode some of the mistakes

来源:互联网 发布:php程序 编辑:程序博客网 时间:2024/05/21 04:20

when i install redis in centos6.5,there have a problem,error is as fallows

/bin/sh: cc: command not found 

solution:

yum install -y gcc

but there’s another problem,error is as fallows

In file included from adlist.c:34:zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"

I find some solution in the internet,it’s work

make MALLOC=libc
原创粉丝点击