LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Permission denied - rebuilding binary RPM (https://www.linuxquestions.org/questions/mandriva-30/permission-denied-rebuilding-binary-rpm-139800/)

lordshipmayhem 01-28-2004 08:42 PM

Permission denied - rebuilding binary RPM
 
I am trying to install Roaring Penguin for Mandrake 9.1. First step, according to the instructions at http://www.roaringpenguin.com/products/rp-pppoe/
is to rebuild the binary RPM.
So I log in as Root, and type in:
rpm --rebuild rp-pppoe-3.5-1.src.rpm
and get "Permission Refused".

Any ideas?
And yes, I was definitely logged in as Root.

born4linux 01-28-2004 09:00 PM

shouldn't it be 'rpmbuild -bb rr-ppoe*.src.rpm'?

DrOzz 01-28-2004 09:00 PM

make it easier on yourself and just get the tarball here
and i always thought it was
rpmbuild --rebuild
but that could have been just for redhat, and maybe mandrakes different ...
so you could try that, but i suggest save yourself the trouble and just compile the tarball.

lordshipmayhem 01-28-2004 09:19 PM

The site is quite specific. Here's a copy and paste:

(Quote)
To build a binary RPM for your RPM-based system (e.g. Mandrake), download the source RPM file and type:

rpm --rebuild rp-pppoe-3.5-1.src.rpm

This will generate a binary RPM which you can install as described next.
(Unquote)

(Except, I have so far had no success...)
Trying to do a compile with Mandrake has proven to me to be about as much fun as licking a metal pole during a blizzard.

DrOzz 01-29-2004 06:43 AM

aside from the jokes, have you tried anything suggested?
like i said as far as i know the command is :
rpmbuild --rebuild package.src.rpm
now redhat is an rpm-based distro (which i know that command works for) and i know if i was using redhat i wouldn't be using that command you supplied ... so don't always take the info you read as written in stone ... and another thing i will tell you, is if you go search the net about how to build an rpm, i bet that 9 outta 10 sites will suggest typing how you showed ...
and if you did try the tarball, what was the error, but to mean it sounds like you didn't attempt either methods ..

lordshipmayhem 01-30-2004 08:39 PM

OK, I've tried rpmbuild.

"Command not recognized."

Recalcitrant little pile of silicon....

Maybe there's somthing that hasn't loaded from the Mandrake disks?

Parksy 01-31-2004 10:56 PM

"rpmbuild --rebuild package.rpm" has always worked for me with Mandrake. Try "urpmi rpmbuild" to make sure you have it installed.

lordshipmayhem 02-01-2004 10:39 PM

:study:

I found the problem

Mandrake 1 wouldn't allow the file to be modified because it thought that the device was in use.

Switching the "automatic logon on startup" feature to "OFF" and then rebooting solved the problem. I was able to run the command successfully.

Now... I'm having problems with the next line of instructions. I'll study it awhile before I ask the board for more help.

I hope this helps someone else having the same problem.


All times are GMT -5. The time now is 11:09 PM.