Try inside the dir /usr/src/redhat/SPECS rpmbuild --bb --target=i686 dovecot.spec
or rpmbuild --bb dovecot.spec Regards, Anil Aliyan -----Original Message----- From: Rajesh M [mailto:[email protected]] Sent: 12 June 2010 08:11 To: [email protected] Subject: Re: [qmailtoaster] dovecot install error >> hi >> >> >> i followed the instructions as posted by mr amit >> http://www.mail-archive.com/[email protected]/msg25551.html >> >> i downloaded the rpm from >> >> http://dl.atrpms.net/all/dovecot-1.2.11-3_108.src.rpm >> >> and put it in /usr/src/qtms-install >> >> >> rpm -i dovecot*.src.rpm >> >> it gave a warning >> >> warning: dovecot-1.2.11-3_108.src.rpm Header V4 DSA signature: NOKEY, >> key >> ID 6534c2b >> >> when i did >> >> rpmbuild -ba --target=i686 dovecot.spec >> >> i got error >> >> rpmbuild failed to stat /usr/src/qtms-install/-ba >> >> no such file or directory .... i am stuck here. >> >> help required please >> >> if any body has implemented this i would like the exact steps please >> >> thanks very much > > > What system are you building on? > I'd venture to guess that you're in the wrong directory. If you're running > CentOS, you want to be in /usr/src/redhat/SPECS to run the command you > were running. > > > > ---------------------------------------------------------------------------- ----- > Qmailtoaster is sponsored by Vickers Consulting Group > (www.vickersconsulting.com) > Vickers Consulting Group offers Qmailtoaster support and > installations. > If you need professional help with your setup, contact them today! > ---------------------------------------------------------------------------- ----- > Please visit qmailtoaster.com for the latest news, updates, and > packages. > > To unsubscribe, e-mail: > [email protected] > For additional commands, e-mail: > [email protected] > > > hi i tried that also, it now gives error failed to stat /usr/src/redhat/SPECS/-ba no such file or directory i think this is some other issue --- why is it considering the option "-ba" as a directory rajesh ---------------------------------------------------------------------------- ----- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! ---------------------------------------------------------------------------- ----- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
