LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-28-2004, 08:42 PM   #1
lordshipmayhem
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandriva Powerpack 2007
Posts: 87

Rep: Reputation: 15
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.
 
Old 01-28-2004, 09:00 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
shouldn't it be 'rpmbuild -bb rr-ppoe*.src.rpm'?
 
Old 01-28-2004, 09:00 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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.
 
Old 01-28-2004, 09:19 PM   #4
lordshipmayhem
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandriva Powerpack 2007
Posts: 87

Original Poster
Rep: Reputation: 15
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.
 
Old 01-29-2004, 06:43 AM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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 ..
 
Old 01-30-2004, 08:39 PM   #6
lordshipmayhem
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandriva Powerpack 2007
Posts: 87

Original Poster
Rep: Reputation: 15
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?
 
Old 01-31-2004, 10:56 PM   #7
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Rep: Reputation: 15
"rpmbuild --rebuild package.rpm" has always worked for me with Mandrake. Try "urpmi rpmbuild" to make sure you have it installed.
 
Old 02-01-2004, 10:39 PM   #8
lordshipmayhem
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandriva Powerpack 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Smile



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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
rebuilding cyrus-sasl src.rpm w/mysql support fails willwrk4u Red Hat 1 04-17-2004 02:34 PM
binary vs source RPM (and other RPM questions) calimer Linux - Software 4 06-22-2003 12:33 AM
RPM Rebuilding -->NVIDIA drivers chingasman Linux - General 3 12-31-2002 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration