2.1.1692616192checking --with-luajit... yes
checking for luajit... /usr/bin/luajit
checking LuaJIT version... LuaJIT 2.1.1692616192 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
checking Lua version of LuaJIT... 5.1
checking if lua.h can be found in /usr/include/luajit-LuaJIT 2.1.1692616192 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/... checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.1... no
checking if lua.h can be found in /usr/include/moonjit-2.3... no
configure: error: could not configure lua
This is because LuaJIT no longer has a - in its version:
$ luajit -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]*\)* .*/\1/' LuaJIT 2.1.1692616192 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
Success.
9.0.1757
Arch Linux
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
so, this one fixes it?
diff --git a/src/auto/configure b/src/auto/configure index 9fd688819..94f0b6488 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -5435,7 +5435,7 @@ $as_echo_n "checking LuaJIT version... " >&6; } if ${vi_cv_version_luajit+:} false; then : $as_echo_n "(cached) " >&6 else - vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]*\)* .*/\1/'` + vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-\?[a-z0-9]*\)* .*/\1/'` fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5 $as_echo "$vi_cv_version_luajit" >&6; } diff --git a/src/configure.ac b/src/configure.ac index cefd0c3b3..dad839f98 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -638,7 +638,7 @@ if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then if test "X$vi_cv_path_luajit" != "X"; then dnl -- find LuaJIT version AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit, - [ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]*\)* .*/\1/'` ]) + [ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-\?[[a-z0-9]]*\)* .*/\1/'` ]) AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit, [ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ]) vi_cv_path_lua="$vi_cv_path_luajit"
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yes!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #12896 as completed via d42f95b.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()