fix: fail to run make deps on macOS#3718
Conversation
| ```shell | ||
| # install OpenResty, etcd and some compilation tools | ||
| brew install openresty/brew/openresty etcd luarocks curl git | ||
| brew install openresty/brew/openresty openresty-openssl111 etcd curl git |
There was a problem hiding this comment.
I remember openresty-openssl111 is a dependency of openresty, will it be installed automatically?
There was a problem hiding this comment.
yep, or-openssl111 will be autoaticll installed when you install openresty
|
will update later |
membphis
left a comment
There was a problem hiding this comment.
In the mac os scenario, we should do this:
- Install lua 5.1:
brew install [email protected] - When calling the luarocks command in make deps, add the parameter
--lua-dir=/usr/local/opt/[email protected], eg:luarocks --lua-dir=/usr/local/opt/[email protected] ***
we use |
update to use brew to install luarocks. please have a look when you have time. @membphis |
membphis
left a comment
There was a problem hiding this comment.
LGTM
@totemofwolf welcome to take a look and make a try with this PR, it should work for mac os.
What this PR does / why we need it:
fix script and docs about install dependencies on macOS
Pre-submission checklist: