5

Automatically install build dependencies prior to building an RPM package

view full story
linux-howto

http://unix.stackexchange.com – I am trying to build the .rpm package. i have just followed the steps to do that. Till now all step was gone fine but now i just stuck with this step. I just ran the following command and got this error : 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 gmime22-devel is needed by asterisk-1.8.12.2-1.fc15.x86_64 graphviz is needed by asterisk-1.8.12.2-1.fc15.x86_64 graphviz-gd is needed by asterisk-1.8.12.2-1.fc15.x86_64 latex2html is needed by (HowTos)