Redis安裝過程jemalloc/jemalloc.h報錯

問題:

[root@localhost redis-3.0.0]# make
cd src && make all
make[1]: Entering directory `/data/redis-3.0.0/src'
    CC adlist.o
In file included from adlist.c:34:
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 `/data/redis-3.0.0/src'
make: *** [all] Error 2
 

解決方法:

# cd deps/

# make hiredis jemalloc linenoise lua geohash-int

#cd ..

#make

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章