Compilation with extrnal LuaJIT broke with addition of FFI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tarantool |
Confirmed
|
High
|
Unassigned |
Bug Description
Compilation with extrnal LuaJIT broke with addition of FFI: FFI uses lj_obj.h which is not checked for when trying to compile
with external LuaJIT, and in the end tarantool_lua.m fails to compile due to a missing header:
kostja@
...
-- Found a system-wide LuaJIT.
-- Performing Test LUAJIT_RUNS
-- Performing Test LUAJIT_RUNS - Success
-- System-wide LuaJIT at /usr/lib/
-- LuaJIT include: /usr/include/
-- LuaJIT lib: /usr/lib/
...
kostja@
/home/kostja/
compilation terminated.
make[2]: *** [mod/box/
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [mod/box/
make: *** [all] Error 2
Changed in tarantool: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → High |
I recently have same problem on Debian. It seems that Debian does not include lj_*.h headers at all.
Anyway, we should check it in CMake scripts.