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)