{"id":361786,"date":"2021-02-21T11:45:48","date_gmt":"2021-02-21T03:45:48","guid":{"rendered":"http:\/\/4563.org\/?p=361786"},"modified":"2021-02-21T11:45:48","modified_gmt":"2021-02-21T03:45:48","slug":"mac-%e7%bc%96%e8%af%91-redis-%e9%97%ae%e9%a2%98%e8%af%b7%e6%95%99","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=361786","title":{"rendered":"mac \u7f16\u8bd1 redis \u95ee\u9898\u8bf7\u6559"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  mac \u7f16\u8bd1 redis \u95ee\u9898\u8bf7\u6559               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pkwenda <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>macos \u5e73\u53f0 https:\/\/redis.io\/ \u4e0b\u8f7d\u4e86\u4e2a\u6700\u65b0\u7a33\u5b9a\u7248 6.2.0 \u6253\u7b97 debug \u9605\u8bfb\u4e00\u4e0b redis \u6e90\u7801\uff0cmake \u7684\u65f6\u5019\u603b\u662f\u62a5\u9519\u5982\u4e0b,\u6ca1\u6709 google \u5230\u8c01\u6709\u7c7b\u4f3c\u7684\u9519\u8bef\uff0c\u8bf7\u5927\u795e\u6307\u6559\uff1a<\/p>\n<pre><code> [email&#160;protected] redis-6.2.0 % sudo make install  make \u2139 info Invoking install target make \u2139 info Invoking all target (node:72871) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): undefined (node:72871) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. make \u2716 ERR  not found: make-$(REDIS_SERVER_NAME) sh: $: command not found make \u2716 ERR  cd src &amp;&amp; $(MAKE) [email&#160;protected] make \u2716 ERR  Recipe exited with code %d (node:72868) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Recipe exited with code %d (node:72868) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.    <\/code><\/pre>\n<h3>gcc tcl \u90fd\u6b63\u5e38<\/h3>\n<p>NodeJS \u7528\u7684 13 \u6362\u4e86 8.2\uff0c\u867d\u7136\u6211\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48 make \u62a5\u9519\u662f nodeJs \u7684\u9519\u8bef\u3002<\/p>\n<h3>\u968f\u4fbf\u53bb\u4e86\u4e2a centOs \u7f16\u8bd1\u4e86\u4e00\u4e0b\u4e0d\u8981\u592a\u987a\u5229<\/h3>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>2<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5417446\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oxromantic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             REDIS_SERVER_NAME \u73af\u5883\u53d8\u91cf\u672a\u5b9a\u4e49?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5417447\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : pkwenda <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @oxromantic #1 \u8fd8\u9700\u8981\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u5417? \u6ca1\u89c1\u6709\u4eba\u8bb2\u554a :&gt; \u6709\u4ec0\u4e48\u53ef\u4ee5\u53c2\u8003\u7684\u5417\uff0c\u6211\u89c1\u56fd\u5185\u5916\u7684\u5c0f\u4f19\u4f34\u90fd\u662f make \u4e00\u4e0b\u57fa\u672c\u5c31\u5b8c\u4e8b\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>mac \u7f16\u8bd1 redis \u95ee\u9898\u8bf7\u6559&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361786"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=361786"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361786\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=361786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=361786"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=361786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}