Chever-John commented on a change in pull request #6442:
URL: https://github.com/apache/apisix/pull/6442#discussion_r815552350



##########
File path: docs/en/latest/how-to-build.md
##########
@@ -119,7 +119,18 @@ 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 filepaths 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';

Review comment:
       This is not just a dependency issue.
   I have the same problem with PCRE & openssl.
   This is a general solution.




-- 
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]


Reply via email to