[root@localhost carl]# rpm -iv audacity-1.2.3-alt1.1.1.src.rpm
warning: audacity-1.2.3-alt1.1.1.src.rpm: V3 DSA signature: NOKEY, key
ID ae4ae412
audacity-1.2.3-alt1.1.1
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
warning: user builder does not exist - using root
warning: group builder does not exist - using root
Look familiar?
Carl
How do you know that you can't?
> warning: user builder does not exist - using root
> warning: group builder does not exist - using root
Nothing serious here. It's a warning, not an error. Either ignore it
or create the user and group 'builder'.
You haven't showed us any error message. You also didn't check if the
RPM that's being built exists or not.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
useradd builder
groupadd builder
It doesn't get easier than that.
Alternatively (for Fedora Core),
Main menu >> System Settings >> Users and Groups
> [root@localhost carl]# rpm -iv audacity-1.2.3-alt1.1.1.src.rpm
Uhmmmm, that is not how to install a source rpm file in Fedora or even
later versions of redhat. A src rpm file is the source code from which to
create a binary rpm file that can be used to install on the system. You
would have to actually "build" the binary files that would be custom made
for your particular machine and setup first, then install the binary rpm
file that results from a proper build, as long as you met any dependency
issues. To do this, you would use the command "rpmbuild", usually done like
so:
rpmbuild -rebuild audacity-1.2.3-alt1.1.1.src.rpm
Then wait for the build to complete. If it was successful, you will see
output near the end of it all showing where the actual binary file was
written, e.g.:
/usr/src/redhat/RPMS/i386/audacity-1.2.3-alt1.1.1.rpm
(Notice that "src" is no longer part of the rpm file name.)
Then you type:
rpm -Uvh <Paste the actual output line here.>
(I use Uvh rather than iv because it will upgrade any packages rather than
replace them if present.)
And install the newly created binary rpm file.
FYI:
man rpmbuild
man rpm
--
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
>"Carl" <greensp...@yahoo.com> wrote in news:1120571528.691693.325080
>@g44g2000cwa.googlegroups.com:
>> [root@localhost carl]# rpm -iv audacity-1.2.3-alt1.1.1.src.rpm
>Uhmmmm, that is not how to install a source rpm file in Fedora or even
>later versions of redhat. A src rpm file is the source code from which to
Sure it is. It installs the source into /usr/src/R*/SOURCE and the spec
file into /usr/src/R*/SPEC
>create a binary rpm file that can be used to install on the system. You
>would have to actually "build" the binary files that would be custom made
>for your particular machine and setup first, then install the binary rpm
>file that results from a proper build, as long as you met any dependency
>issues. To do this, you would use the command "rpmbuild", usually done like
>so:
If that is what you wanted to do. If on the other hand you wanted to read
and possibly even alter the source, you would do just as he did, expand the
tar files, make the changes, retar than and then do
rpm -ba ../SPEC/name.spec
(Or maybe now you use rpmbuild )
>rpmbuild -rebuild audacity-1.2.3-alt1.1.1.src.rpm
>Then wait for the build to complete. If it was successful, you will see
>output near the end of it all showing where the actual binary file was
>written, e.g.:
>/usr/src/redhat/RPMS/i386/audacity-1.2.3-alt1.1.1.rpm
>(Notice that "src" is no longer part of the rpm file name.)
But usually it is replaced by i386 or i586, or i686.
Ie, /usr/src/redhat/RPMS/i386/audacity-1.2.3-alt1.1.1.i386.rpm
>Then you type:
>rpm -Uvh <Paste the actual output line here.>
>(I use Uvh rather than iv because it will upgrade any packages rather than
>replace them if present.)
>And install the newly created binary rpm file.
>FYI:
>man rpmbuild
>man rpm
IF all you want to do is build the package, then what you suggest is just
what you should do. If you want to study or change the source, install the
source.
>>> [root@localhost carl]# rpm -iv audacity-1.2.3-alt1.1.1.src.rpm
>
>
>>Uhmmmm, that is not how to install a source rpm file in Fedora or even
>>later versions of redhat. A src rpm file is the source code from which
>>to
>
> Sure it is. It installs the source into /usr/src/R*/SOURCE and the
> spec file into /usr/src/R*/SPEC
...hmmmmm.
> If that is what you wanted to do. If on the other hand you wanted to
> read and possibly even alter the source, you would do just as he did,
> expand the tar files, make the changes, retar than and then do
> rpm -ba ../SPEC/name.spec
> (Or maybe now you use rpmbuild )
Hey that is good info, I really didn't know that.
>>rpmbuild -rebuild audacity-1.2.3-alt1.1.1.src.rpm
>
>>/usr/src/redhat/RPMS/i386/audacity-1.2.3-alt1.1.1.rpm
>
> But usually it is replaced by i386 or i586, or i686.
> Ie, /usr/src/redhat/RPMS/i386/audacity-1.2.3-alt1.1.1.i386.rpm
Yeah I know I screwed up the i386 part after posting, you got me. :)
>
> IF all you want to do is build the package, then what you suggest is
> just what you should do. If you want to study or change the source,
> install the source.
Thank you. Hey this is good stuff, Unruh, thanks for the scoop on rpms. I
sometimes look for an rpm package and can only find a mandrake cooker one
and not a fedora or redhat one. I would ususally pass on it, rather than
try to force it. This explains a lot.
> If that is what you wanted to do. If on the other hand you wanted to
> read and possibly even alter the source, you would do just as he did,
> expand the tar files, make the changes, retar than and then do
> rpm -ba ../SPEC/name.spec
> (Or maybe now you use rpmbuild )
Ahhh, you mean like if I needed the headers installed or something (e.g.:
for building new packages that require these headers.), I could do it this
way? Good to know, thanks. (Not to mention study, change, etc., like you
said.)
rpmbuild: arguments to --root (-r) must begin with a /
Carl
> Unruh <unruh...@physics.ubc.ca> wrote in
> news:daf714$rrr$1...@nntp.itservices.ubc.ca:
>
>> If that is what you wanted to do. If on the other hand you wanted
>> to read and possibly even alter the source, you would do just as
>> he did, expand the tar files, make the changes, retar than and
>> then do rpm -ba ../SPEC/name.spec
>> (Or maybe now you use rpmbuild )
>
> Ahhh, you mean like if I needed the headers installed or something
> (e.g.: for building new packages that require these headers.),
No, that usually requires the *-devel package be installed not the src.
--
David
>Carl enlightened us with:
>> Sybren thx for the help. You'll have to forgive my noob-ness, I am
>> starting to get around Linux though. How would one creat a 'user' or
>> 'group-builder'?
>
>useradd builder
>groupadd builder
>
>It doesn't get easier than that.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Well theres the problem.
I want to be able to say, "computer, make a new user".
And the computer says, "Yes sir!"
And promptly produces a nice lady gerl for me.
Carl,
What exactly do you want to do here? Install your Audacity program to your
linux system with that source rpm file or just install the source and not
the actual program? I showed you what to do with the rpmbuild command and
that should work to install the program, Unruh told you how to install and
modify the source if you want to customize or change it prior to building
and installing.
Do this stuff in a terminal window so that you can copy and paste right
into your post what you are trying to do and what is happening on the
screen and we can help you better, okay? Copy and paste man so we can see
everything that is going on, got it? ;>)
Cheers,
~Ohmster
Then go on and live in a star trek fantasy.
There was a typo: -rebuild should have been --rebuild. You will
eventually have to read the manual: man rpmbuild.
--
Ben.
> There was a typo: -rebuild should have been --rebuild. You will
> eventually have to read the manual: man rpmbuild.
You are so right, good call Ben.
>РясфMь++ enlightened us with:
>> I want to be able to say, "computer, make a new user". And the
>> computer says, "Yes sir!"
>
>Then go on and live in a star trek fantasy.
>
Will you beam me up, Scotty?
:0)