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/06/23 06:53:00 UTC

[GitHub] [apisix] Louis2014 opened a new issue, #7313: help request: Mac M1 make run error

Louis2014 opened a new issue, #7313:
URL: https://github.com/apache/apisix/issues/7313

   ### Description
   
   2022/06/23 14:39:24 [error] 6267#135075: init_worker_by_lua error: ...Cellar/openresty/1.21.4.1_1/lualib/resty/core/shdict.lua:320: NYI: cannot call this C function (yet)
   stack traceback:
   	[C]: in function 'ngx_lua_ffi_shdict_get'
   	...Cellar/openresty/1.21.4.1_1/lualib/resty/core/shdict.lua:320: in function 'get'
   	...space/apisix//deps/share/lua/5.1/resty/worker/events.lua:119: in function 'get_event_id'
   	...space/apisix//deps/share/lua/5.1/resty/worker/events.lua:610: in function 'configure'
   	...rs/louis/Documents/idea_workspace/apisix/apisix/init.lua:112: in function 'http_init_worker'
   	init_worker_by_lua:2: in main chunk
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.apache.org

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


[GitHub] [apisix] soulbird commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1164034995

   Add information about the operating environment, especially `openresty -v`


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


[GitHub] [apisix] tzssangglass commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1168128998

   > > See [openresty/lua-nginx-module#2037](https://github.com/openresty/lua-nginx-module/pull/2037)
   > > You can wait for the next release of OpenResty or build it yourselves.
   > 
   > How to build the latest of lua-nginx-module and install into my OpenResty Environment?
   
   You can see how to compile OpenResty here: https://github.com/api7/apisix-build-tools/blob/master/build-apisix-base-debug-centos7.sh


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


[GitHub] [apisix] Louis2014 commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
Louis2014 commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1173270727

   > https://github.com/api7/apisix-build-tools/blob/master/build-apisix-base-debug-centos7.sh
   
   Thanks


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


[GitHub] [apisix] spacewander closed issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #7313: help request: Mac M1  make run error 
URL: https://github.com/apache/apisix/issues/7313


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


[GitHub] [apisix] lujiajing1126 commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
lujiajing1126 commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1327511752

   Just a comment. I also suffered from this issue recently. I finally work out by applying the following two patches,
   
    - https://github.com/openresty/lua-resty-core/commit/da705fcaaf85f351fa87480816b4f41a65fc4bd5.patch
    - https://github.com/openresty/lua-nginx-module/commit/653d6a36f46b077cb902d7ba40824c299cf9bbf4.patch
   
   Download the latest `openresty-1.21.4.1.tar.gz` tarball and these two patches. Then run `git apply` in the corresponding modules' directories. Follow the build steps from Homebrew Formula https://github.com/openresty/homebrew-brew/blob/HEAD/Formula/openresty.rb
   
   Thanks to @zhuizhuhaomeng


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


[GitHub] [apisix] spacewander commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1165224901

   See https://github.com/openresty/lua-nginx-module/pull/2037
   
   You can wait for the next release of OpenResty or build it yourselves.


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


[GitHub] [apisix] Louis2014 commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
Louis2014 commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1167107282

   
   
   
   > See [openresty/lua-nginx-module#2037](https://github.com/openresty/lua-nginx-module/pull/2037)
   > 
   > You can wait for the next release of OpenResty or build it yourselves.
   
   How to build the latest of lua-nginx-module and install into my OpenResty Environment? 


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


[GitHub] [apisix] Louis2014 commented on issue #7313: help request: Mac M1 make run error

Posted by GitBox <gi...@apache.org>.
Louis2014 commented on issue #7313:
URL: https://github.com/apache/apisix/issues/7313#issuecomment-1166762306

   thanks


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