Bugzilla – Bug 1226307
Lua includes missing for luajit
Last modified: 2024-06-19 00:45:02 UTC
I am attempting to update the sile package to 0.15.0 but due to some issues I temporarily need to use luajit. The problem is that SILE expects certain header files which are not in luajit-devel: [ 5s] checking for icu-uc icu-io... yes [ 5s] checking for a Lua interpreter with version >= 5.1... luajit [ 5s] checking for luajit... /usr/bin/luajit [ 5s] checking for luajit version... 5.1 [ 5s] checking for luajit jit version... 2.1.1707061634 [ 5s] checking for luajit platform... unknown [ 5s] checking for luajit script directory... ${prefix}/share/luajit-5_1-2.1 [ 5s] checking for luajit module directory... ${exec_prefix}/lib64/lua/5.1 [ 5s] checking if LUA_VERSION is defined... yes [ 5s] checking if LUAJIT_VERSION is defined... yes [ 5s] checking for lua.h... no [ 6s] checking for lualib.h... no [ 6s] checking for lauxlib.h... no [ 6s] checking for luaconf.h... no [ 6s] checking for luajit.h... no [ 6s] configure: error: cannot find Lua includes SILE does correctly identify the headers for lua5.4 though: [ 23s] checking if LUA_VERSION is defined... yes [ 23s] checking for lua.h... no [ 24s] checking for lualib.h... no [ 24s] checking for lauxlib.h... no [ 24s] checking for luaconf.h... no [ 24s] checking for Lua headers in... /usr/include/lua5.4 [ 24s] checking for lua.h... yes [ 24s] checking for lualib.h... yes [ 24s] checking for lauxlib.h... yes [ 24s] checking for luaconf.h... yes [ 24s] checking for Lua header version... 5.4 ... I think luajit-devel should include the requested headers
This is an autogenerated message for OBS integration: This bug (1226307) was mentioned in https://build.opensuse.org/request/show/1180955 Factory / sile
This is an autogenerated message for OBS integration: This bug (1226307) was mentioned in https://build.opensuse.org/request/show/1181041 Factory / sile
This is an autogenerated message for OBS integration: This bug (1226307) was mentioned in https://build.opensuse.org/request/show/1181352 Factory / sile
Turns out the luajit headers ARE included in luajit-devel just in a (non-standard) directory which is: /usr/include/luajit-5_1-2.1 So any package which wants to build with luajit-devel headers needs to add: export LUA_INCLUDE="-I/usr/include/luajit-5_1-2.1" to their %build and %install sections.
This is an autogenerated message for OBS integration: This bug (1226307) was mentioned in https://build.opensuse.org/request/show/1181548 Factory / sile
This is an autogenerated message for OBS integration: This bug (1226307) was mentioned in https://build.opensuse.org/request/show/1181622 Factory / sile