Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SRC.RPM Problem (Audacity)

788 views
Skip to first unread message

Carl

unread,
Jul 5, 2005, 9:52:08 AM7/5/05
to
I am trying to build Audacity from source, and can't. Here is the
Situation. I am running Fedora Core, and haven't messed with building
by source before. Here is the terminal text from the start of the
command.

[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

Sybren Stuvel

unread,
Jul 5, 2005, 9:56:55 AM7/5/05
to
Carl enlightened us with:

> I am trying to build Audacity from source, and can't.

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

Carl

unread,
Jul 5, 2005, 10:09:09 AM7/5/05
to
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'?

Sybren Stuvel

unread,
Jul 5, 2005, 10:10:54 AM7/5/05
to
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.

Julio Acosta-Cabronero

unread,
Jul 5, 2005, 10:16:36 AM7/5/05
to
man useradd
man groupadd

Alternatively (for Fedora Core),

Main menu >> System Settings >> Users and Groups

Ohmster

unread,
Jul 5, 2005, 6:04:46 PM7/5/05
to
"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
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

Unruh

unread,
Jul 5, 2005, 8:01:40 PM7/5/05
to
Ohmster <nota...@emailaddress.com> writes:

>"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.


Ohmster

unread,
Jul 6, 2005, 1:06:45 AM7/6/05
to
Unruh <unruh...@physics.ubc.ca> wrote in
news:daf714$rrr$1...@nntp.itservices.ubc.ca:

>>> [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.

Ohmster

unread,
Jul 6, 2005, 1:21:28 AM7/6/05
to
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.), I could do it this
way? Good to know, thanks. (Not to mention study, change, etc., like you
said.)

Carl

unread,
Jul 6, 2005, 11:48:04 AM7/6/05
to
All good info...I am glad I got into this NG. I did what you told Ohm,
and got this:

rpmbuild: arguments to --root (-r) must begin with a /

Carl

SINNER

unread,
Jul 6, 2005, 5:19:35 PM7/6/05
to
* Ohmster Wrote in alt.os.linux:

> 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

РясфMь++

unread,
Jul 6, 2005, 6:03:17 PM7/6/05
to
Sybren Stuvel <sybr...@YOURthirdtower.com.imagination> wrote in
<slrndcl5bv.9...@schuimige.unrealtower.org>:

>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.

ohmster

unread,
Jul 6, 2005, 7:54:45 PM7/6/05
to

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

Sybren Stuvel

unread,
Jul 7, 2005, 6:18:59 AM7/7/05
to
Рясф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.

Ben Bacarisse

unread,
Jul 7, 2005, 8:20:13 AM7/7/05
to
On Wed, 06 Jul 2005 08:48:04 -0700, Carl wrote:

There was a typo: -rebuild should have been --rebuild. You will
eventually have to read the manual: man rpmbuild.

--
Ben.

Ohmster

unread,
Jul 7, 2005, 2:23:14 PM7/7/05
to
Ben Bacarisse <ben.u...@bsb.me.uk> wrote in
news:pan.2005.07.07....@bsb.me.uk:

> 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ь++

unread,
Jul 7, 2005, 3:53:10 PM7/7/05
to
Sybren Stuvel <sybr...@YOURthirdtower.com.imagination> wrote in
<slrndcq0hd.9...@schuimige.unrealtower.org>:

>Рясф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)

0 new messages