On Thu, 6 Jan 2005 15:09:08 +0000, Derek Jennings
<[EMAIL PROTECTED]> wrote:
> > I downloaded a source package and I tried to build a the binary for
> > that, but I get the following error:
> >
> > [EMAIL PROTECTED] Desktop]# rpm --rebuild cb2bib-0.3.2-1.src.rpm
> > Installing cb2bib-0.3.2-1.src.rpm
> > error: cannot create %sourcedir /root/RPM/SOURCES
> > error: cb2bib-0.3.2-1.src.rpm cannot be installed
> > [EMAIL PROTECTED] Desktop]#
> 
> You are performing the rebuild as root and so it is looking for a folder
> called /root/RPM  in which to create a folder called SOURCES  That folder
> does not exist so the rebuild fails.
> 
> You can rebuild a src RPM as a normal user, but you must have folders created
> called
> ~/rpm/RPMS
> ~/rpm/i586
> ~/rpm/BUILD
> ~/rpm/SOURCES
> ~/rpm/SPECS
> ~/rpm/SRPMS
> ~/rpm/tmp
> 
> A file in your home called ~/.rpmrc  contains your processor option flags. See
> here for details http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo

Thanks a lot, Derek. After having followed your advice, I was able to
produce my rpm.

Paul

PS: Since I am a GMail user, please be sure that you reply to the list.

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to