mousematt Posted December 9, 2002 Report Share Posted December 9, 2002 I'm recent Linux convert happilly running Mandrake 9. I am trying to install xglobe. There is no "normal" rpm only a source rpm available. A checked out the linux pocketbook and it said to: copy the file to any directory, load the console as root and run a few commands... sounds easy enough I copied the file - xglobe-01.51-1.src.rpm - into my Documents folder. I load the console in that folder and become root. and type "rpm -rebuild xglobe-01.51-1.src.rpm" I get the following message: "usr/lib/rpm/rpmb: no such file or directory" So, as root, I create an "rpmb" directory under usr/lib/rpm/ and run the rpm commands again, as before... This time I get this message: "usr/lib/rpm/rpmb: Permission denied" What am I doing wrong? Has anyone got XGlobe working under Mandrkae 9 yet? Quote Link to comment Share on other sites More sharing options...
SoulSe Posted December 9, 2002 Report Share Posted December 9, 2002 hmm... did you make sure you were root again the second time? Otherwise run: # chmod 775 -vRf usr/lib/rpm/rpmb just to be sure. Quote Link to comment Share on other sites More sharing options...
mousematt Posted December 10, 2002 Author Report Share Posted December 10, 2002 hmm... did you make sure you were root again the second time? Otherwise run: # chmod 775 -vRf usr/lib/rpm/rpmb just to be sure. Yes I was root the second time as well... Where do I run this command? in console? as root? in what directory? Thankyou so much for the help! Quote Link to comment Share on other sites More sharing options...
MottS Posted December 10, 2002 Report Share Posted December 10, 2002 Hey . I just checked on my computer and /usr/lib/rpm/rpmb is a program. This is not a directory so you created it for nothing. Are you sure you installed all the required packaged to rebuild source rpm? --> rpm-rebuilder and dependencies. Check if you installed it via rpmdrake-remove. If you can't remove it then you NEED to install it from rpmdrake. [gd@localhost /]$ ls -l usr/lib/rpm/rpm*-rwxr-xr-x 1 rpm rpm 104 Sep 12 16:15 usr/lib/rpm/rpm.daily* -rwxr-xr-x 1 rpm rpm 61 Sep 12 16:15 usr/lib/rpm/rpm.log* -rwxr-xr-x 1 rpm rpm 319 Sep 12 16:15 usr/lib/rpm/rpm.xinetd* -rwxr-xr-x 1 rpm rpm 19476 Sep 12 16:16 usr/lib/rpm/rpmb* -rwxr-xr-x 1 rpm rpm 10580 Sep 12 16:16 usr/lib/rpm/rpmd* -rwxr-xr-x 1 rpm rpm 15674 Sep 12 16:15 usr/lib/rpm/rpmdiff.cgi* lrwxr-xr-x 1 rpm rpm 4 Oct 11 14:38 usr/lib/rpm/rpme -> rpmi* -rwxr-xr-x 1 rpm rpm 14752 Sep 12 16:16 usr/lib/rpm/rpmi* -rwxr-xr-x 1 rpm rpm 12504 Sep 12 16:16 usr/lib/rpm/rpmk* -rw-r--r-- 1 rpm rpm 15353 Sep 12 16:15 usr/lib/rpm/rpmpopt-4.0.4 -rwxr-xr-x 1 rpm rpm 12844 Sep 12 16:16 usr/lib/rpm/rpmq* -rw-r--r-- 1 rpm rpm 10824 Sep 12 16:15 usr/lib/rpm/rpmrc lrwxrwxrwx 1 rpm rpm 4 Oct 27 11:35 usr/lib/rpm/rpmt -> rpmb* lrwxr-xr-x 1 rpm rpm 4 Oct 11 14:38 usr/lib/rpm/rpmu -> rpmi* lrwxr-xr-x 1 rpm rpm 4 Oct 11 14:38 usr/lib/rpm/rpmv -> rpmq* As you can see there is NO directory in /usr/lib/rpm MOttS Quote Link to comment Share on other sites More sharing options...
bvc Posted December 10, 2002 Report Share Posted December 10, 2002 Make sure these are installed :wink: [bvc9@localhost bvc9]$ urpmf rpmbrpm:/usr/lib/librpmbuild-4.0.4.so rpm:/usr/share/man/man8/rpmbuild.8.bz2 rpm-devel:/usr/include/rpm/rpmbuild.h rpm-devel:/usr/lib/librpmbuild.a rpm-devel:/usr/lib/librpmbuild.la rpm-devel:/usr/lib/librpmbuild.so rpm-devel:/usr/share/doc/rpm-devel-4.0.4/html/group__rpmbuild.html rpm-devel:/usr/share/doc/rpm-devel-4.0.4/html/rpmbuild_8h-source.html rpm-devel:/usr/share/doc/rpm-devel-4.0.4/html/rpmbuild_8h.html rpm-devel:/usr/share/man/man3/rpmbuild.3.bz2 rpm-devel:/usr/share/man/man3/rpmbuild.h.3.bz2 rpm-build:/usr/bin/rpmbuild rpm-build:/usr/lib/rpm/rpmb Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.