Installing
https://luarocks.org/kong-0.8.3-0.rockspec...
Using
https://luarocks.org/kong-0.8.3-0.rockspec... switching to 'build' mode
Missing dependencies for kong:
lua_pack ~> 1.0.4-0
luasocket ~> 2.0.2-6
pgmoon ~> 1.4.0
lua_system_constants ~> 0.1.1-0
lbase64 ~> 20120820-1
lapis ~> 1.3.1-1
lua_uuid ~> 0.2.0-2
Using
https://luarocks.org/lua_pack-1.0.4-0.rockspec... switching to 'build' mode
gcc -O2 -fPIC -I/usr/local/include -c lua_pack.c -o lua_pack.o
lua_pack.c:378:1: error: unknown type name ‘luaL_reg’
static const luaL_reg R[] =
^
lua_pack.c:380:2: warning: braces around scalar initializer [enabled by default]
{"pack", l_pack},
^
lua_pack.c:380:2: warning: (near initialization for ‘R[0]’) [enabled by default]
lua_pack.c:380:2: warning: initialization makes integer from pointer without a cast [enabled by default]
lua_pack.c:380:2: warning: (near initialization for ‘R[0]’) [enabled by default]
lua_pack.c:380:2: error: initializer element is not computable at load time
lua_pack.c:380:2: error: (near initialization for ‘R[0]’)
lua_pack.c:380:2: warning: excess elements in scalar initializer [enabled by default]
lua_pack.c:380:2: warning: (near initialization for ‘R[0]’) [enabled by default]
lua_pack.c:381:2: warning: braces around scalar initializer [enabled by default]
{"unpack", l_unpack},
^
lua_pack.c:381:2: warning: (near initialization for ‘R[1]’) [enabled by default]
lua_pack.c:381:2: warning: initialization makes integer from pointer without a cast [enabled by default]
lua_pack.c:381:2: warning: (near initialization for ‘R[1]’) [enabled by default]
lua_pack.c:381:2: error: initializer element is not computable at load time
lua_pack.c:381:2: error: (near initialization for ‘R[1]’)
lua_pack.c:381:2: warning: excess elements in scalar initializer [enabled by default]
lua_pack.c:381:2: warning: (near initialization for ‘R[1]’) [enabled by default]
lua_pack.c:382:2: warning: braces around scalar initializer [enabled by default]
{NULL, NULL}
^
lua_pack.c:382:2: warning: (near initialization for ‘R[2]’) [enabled by default]
lua_pack.c:382:2: warning: initialization makes integer from pointer without a cast [enabled by default]
lua_pack.c:382:2: warning: (near initialization for ‘R[2]’) [enabled by default]
lua_pack.c:382:2: warning: excess elements in scalar initializer [enabled by default]
lua_pack.c:382:2: warning: (near initialization for ‘R[2]’) [enabled by default]
Error: Failed installing dependency:
https://luarocks.org/lua_pack-1.0.4-0.rockspec - Build error: Failed compiling object lua_pack.o
Now failing to install the rest of the packages.... Need to figure out
Thanks
Vasu