Click to See Complete Forum and Search --> : installing a src.rpm


mkniller
08-01-2004, 11:19 AM
I am using SuSe and I am trying to install a src.rpm but I am not sure of the commands and the order to do them in. Can someone give me an easy walkthrough of source rpms.

Thanks,
Matt K.

serz
08-01-2004, 11:26 AM
Same procedure as installing any rpm. You have to do it as root, of course.

rpm -ivh filename.rpm

elsheikhMH
08-01-2004, 11:54 AM
still can do "rpmbuild"

bsm2001
08-01-2004, 12:05 PM
Don't know about Suse but in mandrake as root I can issue the command rpm --rebuild *******.src.rpm and it will extract the rpm and build and compile a new *****.rpm for installation and place it in /usr/src/RPMS/RPM/i*86.

mkniller
08-01-2004, 12:47 PM
I tried the rpm -ivh filename.src.rpm but got this message:
warning: gaim-0.80-0.src.rpm: V3 DSA signature: NOKEY, key ID 883c1c14
1:gaim warning: user elb does not exist - using root
warning: group elb does not exist - using root
########################################### [100%]
warning: user elb does not exist - using root
warning: group elb does not exist - using root

I was logged in as root at the time. Any ideas?

mkniller
08-01-2004, 01:07 PM
i just tried the following command:

rpmbuild --rebuild gaim-0.80-0.src.rpm adn here is the message I got back:

Installing gaim-0.80-0.src.rpm
warning: user elb does not exist - using root
warning: group elb does not exist - using root
warning: user elb does not exist - using root
warning: group elb does not exist - using root
error: Failed build dependencies:
libao-devel is needed by gaim-0.80-0
gtk2-devel is needed by gaim-0.80-0
libtool is needed by gaim-0.80-0
pkgconfig is needed by gaim-0.80-0
mozilla-nss-devel is needed by gaim-0.80-0

I understand what the failed dependancies mean but I am having trouble finding out where to get them.

serz
08-01-2004, 05:02 PM
Try downloading them from rpmfind.net (www.rpmfind.net).

Anyway, I'd suggest you to start using apt for rpm.

pilotgi
08-01-2004, 06:32 PM
Originally posted by serz
Same procedure as installing any rpm. You have to do it as root, of course.

rpm -ivh filename.rpm
I disagree. I believe you have to use the rpmbuild command since a src.rpm is not a ready to install binary.

Anyway, I'd suggest you to start using apt for rpm.

Well, the question was how to install a src.rpm not an alternative that will do it another way. (Just picking nits)

First, look to see if these files are on your cds. If you can't find them on the cd or at rpmfind.net, search google like this:

suse9.1 libao-devel

Which returns this (one of many)

serz
08-01-2004, 07:33 PM
Oh, ok, it's good to know.

I suggested apt for rpm because of those dependencies.

Penguin_newbie
08-04-2004, 10:52 AM
HOW TO INSTALL AN SRC.RPM (http://www.zzzzx.plus.com/websites/suse_9.1/src.html)