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/03/18 09:11:46 UTC
[GitHub] [apisix] JackLiMEM opened a new issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
JackLiMEM opened a new issue #3859:
URL: https://github.com/apache/apisix/issues/3859
### Issue description
Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3.
make: *** [Makefile:67: deps] Error 1
### Environment
* apisix version (cmd: `apisix version`):
* OS (cmd: `uname -a`):
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] nerowangtc commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
nerowangtc commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-948221383
> 1、重新编译luarocks,安装luarocks时选择luajit作为lua编译器,不要使用lua5.3或者5.4。 进入luarocks目录: ./configure --with-lua=/usr/local/openresty/luajit --lua-suffix=jit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 make&make install 2、进入apisix目录 make deps
I think this perhaps should added to the install.md for beginner
--
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] Firstsawyou commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-801768290
You should provide your environmental information and installation steps.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3859:
URL: https://github.com/apache/apisix/issues/3859
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] anyforever commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
anyforever commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-814548505
没想到apisix这么难装。。一堆依赖,各种报错。。上面的问题解决了,又出现新的。解决了一个又一个,解决了好几个了,懒得搞了,放弃了。
`
Error: Failed installing dependency: https://luarocks.org/luasec-0.9-1.src.rock - Could not find header file for OPENSSL
No file openssl/ssl.h in /usr/local/openresty/openssl111/include
You may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command.
Example: luarocks install luasec OPENSSL_DIR=/usr/local
make: *** [Makefile:79: deps] Error 1
`
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-803872311
Only Lua 5.1 or LuaJIT is supported. See https://github.com/apache/apisix/blob/master/docs/en/latest/install-dependencies.md
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Firstsawyou commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-814604827
> 没想到apisix这么难装。。一堆依赖,各种报错。。上面的问题解决了,又出现新的。解决了一个又一个,解决了好几个了,懒得搞了,放弃了。
> `Error: Failed installing dependency: https://luarocks.org/luasec-0.9-1.src.rock - Could not find header file for OPENSSL No file openssl/ssl.h in /usr/local/openresty/openssl111/include You may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luasec OPENSSL_DIR=/usr/local make: *** [Makefile:79: deps] Error 1`
Refer to the document here, it should solve your problem: https://github.com/apache/apisix/blob/master/docs/en/latest/FAQ.md#why-does-the-make-deps-command-fail-in-source-installation
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] szqm123 commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
szqm123 commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-812973887
1、重新编译luarocks,安装luarocks时选择luajit作为lua编译器,不要使用lua5.3或者5.4。
进入luarocks目录:
./configure --with-lua=/usr/local/openresty/luajit --lua-suffix=jit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1
make&make install
2、进入apisix目录
make deps
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Firstsawyou commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-803231281
The installation of lua-resty-hmac-ffi depends on lua 5.1, try to install lua 5.1 .
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] anyforever commented on issue #3859: request help: Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3. make: *** [Makefile:67: deps] Error 1
Posted by GitBox <gi...@apache.org>.
anyforever commented on issue #3859:
URL: https://github.com/apache/apisix/issues/3859#issuecomment-803224899
我也出现这个问题,Centos 8下编译。
开始装的lua 5.4,提示不行,退回了5.3,然后
$ cd apisix
$ make deps
时,出现此报错
`
Error: Could not satisfy dependency lua-resty-hmac-ffi 0.05: No results matching query were found for Lua 5.3.
make: *** [Makefile:67: deps] Error 1
`
我直接安装这个依赖,也是如此
[root@Centos apisix-2.4]# luarocks install lua-resty-hmac-ffi
Error: No results matching query were found for Lua 5.3.
To check if it is available for other Lua versions, use --check-lua-versions.
搜到了依赖项的页面,标的是lua 5.1
http://luarocks.org/modules/jkeys089/lua-resty-hmac-ffi
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org