Click to See Complete Forum and Search --> : rpm .spec files?


kill-9
07-29-2001, 12:49 AM
Hello,
Everytime I to install any rpm, it complains about .spec files. Here is an example:

[root@bgwl1 redhat]# rpm -ivvvh xbl-1.0j-5.src.rpm
D: counting packages to install
D: found 1 packages
D: looking for packages to download
D: retrieved 0 packages
D: New Header signature
D: Signature size: 149
D: Signature pad : 3
D: sigsize : 152
D: Header + Archive: 209039
D: expected size : 209039
D: found 1 source and 0 binary packages
D: New Header signature
D: Signature size: 149
D: Signature pad : 3
D: sigsize : 152
D: Header + Archive: 209039
D: expected size : 209039
D: installing a source package
D: sources in: /usr/src/redhat/SOURCES
D: spec file in: /usr/src/redhat/SPECS
D: file: xbl-1.0j-config.patch action: unknown
D: file: xbl-1.0j.tar.Z action: unknown
D: file: xbl.spec action: unknown
xbl #################################################G ZDIO: 29 reads, 230972 total bytes in 0.014 secs
#

I am really confused as to what it is trying to do... Any advice would be greatly appricated!! THanks in advance,

Kill-9
:confused:

PLBlaze
07-29-2001, 01:26 AM
You are trying to install src.rpm which you can't...since it hasn't been compiled.Remeber src.rpm is just a source tarball+spec file.First issue rpm --rebuild or --recompile src.rpm command then install the program that you've compiled.Hope this helps.