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/02/24 09:10:02 UTC

[GitHub] [apisix] Chever-John commented on issue #4945: request help: How to install Apache APISIX 2.9 on Mac M1

Chever-John commented on issue #4945:
URL: https://github.com/apache/apisix/issues/4945#issuecomment-1049640371


   I just solved the problem.
   The first thing you need to know is that `brew`'s location in M1 Macos has been changed and is currently in `/opt/homebrew/cellar/`. 
   So you should configure your files like this:
   ```
   cheverjohn@Johns-MacBook-Pro apisix % cat ~/.luarocks/config-5.1.lua
   variables = {
      LDAP_DIR = "/opt/homebrew/cellar/openldap/2.6.1",
      LDAP_INCDIR = "/opt/homebrew/cellar/openldap/2.6.1/include",
      OPENSSL_INCDIR = "/opt/homebrew/opt/openresty-openssl111/include",
      OPENSSL_LIBDIR = "/opt/homebrew/opt/openresty-openssl111/lib",
      PCRE_DIR = "/opt/homebrew/cellar/pcre/8.45",
      PCRE_INCDIR = "/opt/homebrew/cellar/pcre/8.45/include"
   }
   ```
   
   Then it works!


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