我正在尝试将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有人能告诉我我遗漏了什么吗?
发布于 2014-07-10 02:35:12
该错误告诉您,在构建包时,可能需要将--with-lua传递给rpmbuild。
正如@hjpotter92所说,您可能还需要安装与lua包一起使用的lua-devel包。
尝试先安装该命令,然后重新运行命令,看看错误是否发生了变化。
https://stackoverflow.com/questions/24661153
复制相似问题