Lua build error on CentOS 7
RFI detector and quality analysis for astronomical radio observations
Brought to you by:
anoko
I get the following build error with the current master (9a0de0) on CentOS 7 (fs5):
/home/dijkema/opt/aoflagger/src/src/lua/luastrategy.cpp: In member function ‘void LuaStrategy::loadaoflagger()’:
/home/dijkema/opt/aoflagger/src/src/lua/luastrategy.cpp:72:2: error: ‘luaL_setfuncs’ was not declared in this scope
luaL_setfuncs(_state, aofdatamembers, 0);
^~~~~~~~~~~~~
/home/dijkema/opt/aoflagger/src/src/lua/luastrategy.cpp:72:2: note: suggested alternative: ‘lua_setfenv’
luaL_setfuncs(_state, aofdatamembers, 0);
^~~~~~~~~~~~~
lua_setfenv
make[2]: *** [src/CMakeFiles/aoflagger.dir/lua/luastrategy.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/aoflagger.dir/all] Error 2
make: *** [all] Error 2
Same thing on CentOS 7.6. Checked with the in-house lua v5.1.4, and the latest 5.4 built from source.
Sorry, I hadn't seen this ticket. 9a0de0 is quite a while back now. If this is still an issue, can you resubmit it to the gitlab page? I won't use SourceForge anymore.