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 2021/09/01 03:43:56 UTC

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

tzssangglass commented on issue #4945:
URL: https://github.com/apache/apisix/issues/4945#issuecomment-909850338


   after `brew install pcre`, I do something ad below
   
   1. find the `pcre` install dir, on Mac M1, usually in `/opt/homebrew/Cellar/pcre/8.45/`
   2. modify the `~/.luarocks/config-5.1.lua` as 
   
   ```
   lua_interpreter = "luajit"
   variables = {
      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"
   }
   ```
   
   


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