我试图在 Cent OS 中安装 luarocks。命令后./configure
我得到错误:
Lua interpreter found: /bin/lua...
Lua version detected: 5.1
lua found in $PATH: /bin
Checking Lua includes... lua.h not found (looked in //include, //include/lua/5.1, //include/lua5.1)
You may want to use the flag --with-lua or --with-lua-include. See --help.
据我了解,首先我需要安装 Lua 并在配置 luarocks 时指定 Lua 的路径