我正在尝试构建一个 .rpm 包。我刚刚按照步骤来做到这一点。到目前为止,所有步骤都很好,但现在我只是坚持这一步。我刚刚运行以下命令并收到此错误:
rpmbuild -ba asterisk.spec
error: Failed build dependencies:
gtk2-devel is needed by asterisk-1.8.12.2-1.fc15.x86_64
libsrtp-devel is needed by asterisk-1.8.12.2-1.fc15.x86_64
[... more ...]
freetds-devel is needed by asterisk-1.8.12.2-1.fc15.x86_64
uw-imap-devel is needed by asterisk-1.8.12.2-1.fc15.x86_64
我正在使用fedora-15。如何解决此错误?
src.rpm
在安装软件包期间如何安装所有依赖项。可能吗?