On Sun, 04 Apr 2004 10:18:03 -0400 Marc Resnick <[EMAIL PROTECTED]> wrote:
> Philip Cronje wrote: > > >On Sun, 04 Apr 2004 01:06:28 -0500, Marc Resnick <[EMAIL PROTECTED]> wrote: > > > > > >>It says the file /usr/lib/rpm/rpmb isn't there. So I tried a urpmi rpmb, > >>it installed the rpmbuilder, but I still can't do it. > >> > >> > >You mean the 'rpm-build' package? What is the 'ls /usr/lib/rpm' command's output? > >If you installed rpm-build and rpmb isn't in /usr/lib/rpm, something funky's going > >on. > >Either that, or you don't have execute permissions on /usr/lib/rpm/rpmb? > > > >//philip > > > > > > Figured it out. I had installed the 'rpmbuilder' package, which is a GUI > that relies on rpm-build, I think. So I installed rpm-build. > > Now, I get this error: > > error: cannot create %sourcedir /root/RPM/SOURCES > > And I get a very similar one when trying it as a normal user. > You may need to: mkdir /root/RPM mkdir /root/RPM/SOURCES mkdir /root/RPM/SPECS mkdir /root/RPM/RPMS mkdir /root/RPM/BUILD mkdir /root/RPM/SRPMS and mkdir /root/RPM/<arch> where <arch> is the archetecture you're building for (in my case it'd be /root/RPM/RPMS/i586) (usually there are i386, i586, i686, athlon, k6, and noarch subdirs under the RPM dir) though why it isn't putting them in /usr/src/RPM/ I'm not sure. been quite a while since I've built an rpm without just using checkinstall. HTH Jerry.
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________