You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/10 13:39:08 UTC

[GitHub] [apisix] siaron edited a comment on issue #6068: request help: building failed on Mac(2.11 ldap.h)

siaron edited a comment on issue #6068:
URL: https://github.com/apache/apisix/issues/6068#issuecomment-1008881940


   1. macbook 编译apisix 执行 `LUAROCKS_SERVER=https://luarocks.cn make deps`
   ```
   Error: Failed installing dependency: https://luarocks.org/lualdap-1.2.6-1.src.rock - Could not find header file for LDAP
     No file ldap.h in /usr/local/include
     No file ldap.h in /usr/include
     No file ldap.h in /include
   You may have to install LDAP in your system and/or pass LDAP_DIR or LDAP_INCDIR to the luarocks command.
   Example: luarocks install lualdap LDAP_DIR=/usr/local
   make: *** [deps] Error 1
   ```
   2. 已经安装`brew install openldap`
   3. 编译安装时可以指定`LDAP_DIR=xxx`吗?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org