国产99久久精品_欧美日本韩国一区二区_激情小说综合网_欧美一级二级视频_午夜av电影_日本久久精品视频

最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當前位置: 首頁 - 科技 - 知識百科 - 正文

Redis2.8.18安裝報錯

來源:懂視網 責編:小采 時間:2020-11-09 14:09:14
文檔

Redis2.8.18安裝報錯

Redis2.8.18安裝報錯: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]
推薦度:
導讀Redis2.8.18安裝報錯: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]

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]

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


網上已經有了 解決辦法,為什么要加這個呢 ,在README 有這個一段話。


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

說關于分配器allocator, 如果有MALLOC 這個 環境變量, 會有用這個環境變量的 去建立Redis。

而且libc 并不是默認的 分配器, 默認的是 jemalloc, 因為 jemalloc 被證明 有更少的 fragmentation problems 比libc。


但是如果你又沒有jemalloc 而只有 libc 當然 make 出錯。 所以加這么一個參數。


聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

Redis2.8.18安裝報錯

Redis2.8.18安裝報錯: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]
推薦度:
標簽: 安裝 er 報錯
  • 熱門焦點

最新推薦

猜你喜歡

熱門推薦

專題
Top
主站蜘蛛池模板: 九九51精品国产免费看 | 日本高清一二三区 | 可以免费观看一级毛片黄a 另类区 | 欧美日韩亚洲第一页 | 亚洲欧美日韩中文字幕在线 | 国产黑色丝袜一区在线 | 91福利一区二区三区 | 国语对白91 | 在线中文 | 亚洲国产精品视频 | 曰韩在线 | 丰满老熟好大bbbxxx | 国产精品综合一区二区 | 免费国产高清视频 | 国产在线观看91 | 欧美日韩在线国产 | 国产综合成人久久大片91 | 国产美女视频黄a视频全免费网站 | 国产日韩在线视频 | 人善交zzzxxx另类 | 亚洲乱码一二三四区麻豆 | 亚洲码欧美码一区二区三区 | 91麻豆精品国产91久久久久久 | 欧美在线不卡视频 | 日韩欧美视频一区 | 亚洲va欧美va天堂v国产综合 | 国产精品porn| 久久精品综合国产二区 | 欧美一区二区日韩一区二区 | 一级一级一级毛片免费毛片 | 国产网站在线 | 精品国产欧美一区二区五十路 | 国产手机在线αⅴ片无码观看 | 97r久久精品国产99国产精 | 另类专区 亚洲 | 亚洲综合欧美在线 | 日韩高清在线观看 | 欧美亚洲图区 | 国产高清在线免费观看 | 欧美午夜视频 | 国产丝袜美女一区二区三区 |