Chever-John commented on a change in pull request #6442:
URL: https://github.com/apache/apisix/pull/6442#discussion_r814398711
##########
File path: docs/en/latest/how-to-build.md
##########
@@ -119,7 +119,10 @@ Follow the steps below to install Apache APISIX via the
source release package.
**Note**: If `make deps` fails with "install `lualdap` failed" with an error
like `Could not find header file for LDAP` try the solution below.
- Solution: Set `LDAP_DIR` with `luarocks config` manually. For example
`luarocks config variables.LDAP_DIR /usr/local/opt/openldap/`.
+ Solution: luarocks supports adding custom package addresses to the
project. You can set `LDAP_DIR` with `luarocks config` manually, for example
`luarocks config variables.LDAP_DIR /usr/local/opt/openldap/`. You should
config as follows:
+ 1. Install `openldap` locally using tools including but not limited to
'brew';
+ 2. Find the location of your local installation of `openldap`. Note here
that the default address of `brew` in the macOS of the M1 chip is
`/opt/homebrew/cellar/`, and the previous macOS default is `/usr/local/opt/`;
Review comment:
OK
--
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]