kwanhur opened a new issue #6225: URL: https://github.com/apache/apisix/issues/6225
### Issue description after `make deps` successfully, but `make install` or `sudo make install` failed. it seems no authority to mkdir dir `/usr/share/lua` . Installed lua with brew, so this related dir should locate at `/usr/local/Cellar/lua/5.1/share` . ```bash ➜ apisix git:(master) sudo make install Password: install -d /usr/local/apisix/ install -d /usr/local/apisix/logs/ install -d /usr/local/apisix/conf/cert install conf/mime.types /usr/local/apisix/conf/mime.types install conf/config.yaml /usr/local/apisix/conf/config.yaml install conf/config-default.yaml /usr/local/apisix/conf/config-default.yaml install conf/debug.yaml /usr/local/apisix/conf/debug.yaml install conf/cert/* /usr/local/apisix/conf/cert/ install -d /usr/share/lua/5.1/apisix install: mkdir /usr/share/lua: Operation not permitted make: *** [install] Error 71 ``` ### Environment - apisix version (cmd: `apisix version`): 2.12.0 - OS (cmd: `uname -a`): Darwin Kwanhur-MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64 - luarocks version, if the issue is about installation (cmd: `luarocks --version`): /usr/local/bin/luarocks 3.7.0 ```bash ➜ brew info lua lua: stable 5.4.3 (bottled) Powerful, lightweight programming language https://www.lua.org/ /usr/local/Cellar/lua/5.4.3 (29 files, 746.3KB) * Poured from bottle on 2021-09-19 at 21:07:48 From: git://mirrors.ustc.edu.cn/homebrew-core.git/Formula/lua.rb License: MIT ``` ```bash ➜ brew info luarocks luarocks: stable 3.7.0 (bottled), HEAD Package manager for the Lua programming language https://luarocks.org/ /usr/local/Cellar/luarocks/3.7.0 (105 files, 715KB) * Poured from bottle on 2021-09-19 at 21:22:43 From: git://mirrors.ustc.edu.cn/homebrew-core.git/Formula/luarocks.rb License: MIT ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
