Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kenhys opened this issue Oct 5, 2017 · 2 comments
Closed

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

kenhys opened this issue Oct 5, 2017 · 2 comments

Comments

@kenhys
Copy link
Member

kenhys commented Oct 5, 2017

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
@komainu8
Copy link
Member

既に別の人がこの問題を修正する pull request をアップストリームへ上げていた。

LuaDist/luaexpat#2

@komainu8
Copy link
Member

既に問題報告済みの状態なので、このIssueはCloseします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants