如何修复 Ubuntu ./configure error: lua not found
问题:
当你尝试构建某些软件时运行 ./configure,你看到类似这样的错误消息
configure_error.txt
checking for lua >= 5.1... no
configure: error: lua not found解决方案
安装包含开发文件的最新 Lua 版本。首先尝试:
install_liblua.sh
sudo apt -y install liblua5.4-dev如果找不到该包,尝试
install_liblua_5_3.sh
sudo apt -y install liblua5.3-dev并继续尝试 liblua5.2-dev、liblua5.1-dev 或 liblua5.0-dev。哪个版本可行取决于你的 Ubuntu 版本。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow