Skip to content

luaexpat: luarocks install(luajit 2.1)に対応していない #64

@kenhys

Description

@kenhys

Problem

luarocks install luaexpat fails.

Expected

luarock install luaexpat succeeds.

Actual

% luarocks install luaexpat    
Warning: falling back to curl - install luasec to get native HTTPS support                                                                                                                    
Installing https://luarocks.org/luaexpat-1.3.0-1.src.rock                                                                                                                                    
gcc -O2 -fPIC -I/home/kenhys/.luaenv/versions/luajit-2.1.0-beta3/include/luajit-2.1 -c src/lxplib.c -o src/lxplib.o -I/usr/include -Isrc/
src/lxplib.c:593:13: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
 static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
             ^~~~~~~~~~~~~
In file included from src/lxplib.c:15:0:
/home/kenhys/.luaenv/versions/luajit-2.1.0-beta3/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ was here
 LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
                  ^~~~~~~~~~~~~

Error: Build error: Failed compiling object src/lxplib.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions