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 .
➜ 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
➜ 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
➜ 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
Issue description
after
make depssuccessfully, butmake installorsudo make installfailed.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.Environment
apisix version): 2.12.0uname -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_64luarocks --version): /usr/local/bin/luarocks 3.7.0➜ 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