hello,
      I use Tencent virtual machine to compile the master 
version.
      the error message is


---------------------------this is err begin-----------------------------------
      inflating: luasocket-3.0-rc1/test/udpconnectsrvr.lua
  inflating: luasocket-3.0-rc1/test/unixclnt.lua
  inflating: luasocket-3.0-rc1/test/unixsrvr.lua
  inflating: luasocket-3.0-rc1/test/upload.html
  inflating: luasocket-3.0-rc1/test/urltest.lua
  inflating: luasocket-3.0-rc1/test/utestclnt.lua
  inflating: luasocket-3.0-rc1/test/utestsrvr.lua
  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      
                      
                      
                
UNIX_API=__attribute__((visibility("default"))) 
-DMIME_API=__attribute__((visibility("default")))
src/mime.c:7:17: fatal error: lua.h: No such file or directory
 #include "lua.h"
                 ^
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          
                      
                      
            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
 
??2??lua -v
Lua 5.1.4  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

Reply via email to