src.rpm question
I am embarassed to ask this question but I've no other alternative... The answer is apparently so obvious that the documentation and Ultra RPM glaze right over it.
When trying to install a .src.rpm I get no complaints but the package doesn't show as installed according to rpm -q. #rpm -ihvv ethereal-0.9.8-6.src.rpm Does installing the .src simply set up the binaries of the rpm, so I need to run a "make?" Thanks. --nd |
The answer isn't obvious, far from it. Unfortunately RPM is just arcane.
Try this: rpmbuild -ba foo.src.rpm Installing it will place the specs and sources in /usr/src/redhat/* |
Also see "rpm --rebuild <package>.src.rpm".
"When invoked this way, rpm installs the named source pack_ age, and does a prep, compile and install. In addition, --rebuild builds a new binary package. When the build has completed, the build directory is removed (as in --clean) and the the sources and spec file for the package are removed." Nothing "arcane" in that, just learning to deal with your system and read ing "man rpm". |
rpm --rebuild is AFAIK deprecated in favour of rpmbuild.
|
Thank you very much, Mike. That did the trick beautifully.
--jag |
No problem! :)
|
All times are GMT -5. The time now is 12:19 AM. |