it is not easy to read your email.
please check the mail setting, or you can use another email system.

On Fri, Feb 19, 2021 at 9:37 AM 15717900 <15717...@qq.com> wrote:

> hello,
> &nbsp; &nbsp; &nbsp; I use Tencent virtual machine to compile the master
> version.
> &nbsp; &nbsp; &nbsp; the error message is
>
>
> ---------------------------this is err
> begin-----------------------------------
> &nbsp; &nbsp; &nbsp; inflating: luasocket-3.0-rc1/test/udpconnectsrvr.lua
> &nbsp; inflating: luasocket-3.0-rc1/test/unixclnt.lua
> &nbsp; inflating: luasocket-3.0-rc1/test/unixsrvr.lua
> &nbsp; inflating: luasocket-3.0-rc1/test/upload.html
> &nbsp; inflating: luasocket-3.0-rc1/test/urltest.lua
> &nbsp; inflating: luasocket-3.0-rc1/test/utestclnt.lua
> &nbsp; inflating: luasocket-3.0-rc1/test/utestsrvr.lua
> &nbsp; inflating: luasocket-3.0-rc1/win32.cmd
> gcc -O2 -fPIC -I/usr/include -c src/mime.c -o src/mime.o
> -DLUA_COMPAT_APIINTCASTS -DLUASOCKET_DEBUG
> -DLUASOCKET_API=__attribute__((visibility("default"))) -D&nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; UNIX_API=__attribute__((visibility("default")))
> -DMIME_API=__attribute__((visibility("default")))
> src/mime.c:7:17: fatal error: lua.h: No such file or directory
> &nbsp;#include "lua.h"
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^
> compilation terminated.
>
>
> Error: Failed installing dependency:
> https://luarocks.org/luasec-0.9-1.src.rock - Failed installing
> dependency: https://luarocks.org/luasocket-3.0rc1-2.src.r&nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; ock - Build error: Failed compiling object src/mime.o
> make: *** [deps] Error 1
> ---------------------------this is err
> end-----------------------------------
> (1)openresty -v(Both versions have the same error message)
> nginx version: openresty/1.19.3.1
> nginx version: openresty/1.17.8.2
> openssl-1.1.1g
> &nbsp;
> (2)lua -v
> Lua 5.1.4&nbsp; Copyright (C) 1994-2008 Lua.org, PUC-Rio
>
>
>
> (3)luarocks
> LuaRocks 2.3.0, a module deployment system for Lua
>
>
>
> (4)uname -a
> Linux VM-0-14-centos 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25
> 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> Looking forward to answer,thanks



-- 

*MembPhis*
My GitHub: https://github.com/membphis
Apache APISIX: https://github.com/apache/apisix

Reply via email to