我正在尝试将 mysql-proxy-0.8.4.tar.gz 编译并打包到 rpm 中。我按照说明进行构建
[root@localhost mysql-proxy]# rpmbuild -ta --clean mysql-proxy-0.8.4.tar.gz
我收到这个错误
checking which pkg-config file to use to find Lua... configure: error: MySQL Proxy can't be built using --without-lua, lua 5.1 is required
error: Bad exit status from /var/tmp/rpm-tmp.r6iTWn (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.r6iTWn (%build)
我检查了我的构建机器,我拥有所有构建依赖项,我可以看到 pkg-config 列出了 lua 库
[root@localhost mysql-proxy]# pkg-config --list-all | less
lua Lua - An Extensible Extension Language
有人可以让我知道我错过了什么吗?