On Thursday 06 January 2005 13:09, Paul Smith wrote: > Dear All > > 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]# > > Any ideas? > > Thanks in advance, > > Paul > > PS: Since I am a GMail user, please be sure that you reply to the list.
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 derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
