跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • mac 编译 redis 问题请教
未分類
21 2 月 2021

mac 编译 redis 问题请教

mac 编译 redis 问题请教

資深大佬 : pkwenda 3

macos 平台 https://redis.io/ 下载了个最新稳定版 6.2.0 打算 debug 阅读一下 redis 源码,make 的时候总是报错如下,没有 google 到谁有类似的错误,请大神指教:

 [email protected] redis-6.2.0 % sudo make install  make ℹ info Invoking install target make ℹ 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 ✖ ERR  not found: make-$(REDIS_SERVER_NAME) sh: $: command not found make ✖ ERR  cd src && $(MAKE) [email protected] make ✖ 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.    

gcc tcl 都正常

NodeJS 用的 13 换了 8.2,虽然我不知道为什么 make 报错是 nodeJs 的错误。

随便去了个 centOs 编译了一下不要太顺利

大佬有話說 (2)

  • 資深大佬 : oxromantic

    REDIS_SERVER_NAME 环境变量未定义?

  • 主 資深大佬 : pkwenda

    @oxromantic #1 还需要设置环境变量吗? 没见有人讲啊 :> 有什么可以参考的吗,我见国内外的小伙伴都是 make 一下基本就完事了

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具