首頁 >資料庫 >mysql教程 >redis 2.6.9安装报错解决

redis 2.6.9安装报错解决

WBOY
WBOY原創
2016-06-07 14:58:251406瀏覽

redis 2.6.9安装报错解决 zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error Newer version of jemalloc required make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/data0/src/redis-2.

redis 2.6.9安装报错解决

 

zmalloc.h:50:31: 

 

error: jemalloc/jemalloc.h: No such file or directory

zmalloc.h:55:2: error: 

 

#error "Newer version of jemalloc required"

make[1]: *** [adlist.o] Error 

1

make[1]: Leaving directory `/data0/src/redis-2.6.2/src'

make: *** [all] 

Error 2

 

解决办法是:

 

make MALLOC=libc

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn