On 12/12/05, Ken Schneider
On Mon, 2005-12-12 at 13:25 -0500, Greg Freemyer wrote:
It has been awhile since I have needed to compile a *.src.rpm package.
Can someone walk me thru it.
In particular I'm trying to get ruby-1.8.3 installed on SUSE 10.0 box.
I have downloaded the ruby-1.8.3-3.src.rpm file from the OSS factory.
I have done a simple "rpm -i ruby-1.8.3-3.src.rpm" and now have several files in /usr/src/packages/SOURCES and the spec file in SPECS.
I have untarred the ruby-1.8.3.tar.bz2. What are the next steps?
No need to untar anything. Use rpmbuild -bb
to create an rpm file which will be under /usr/src/packages/RPMS/ and then install with rpm or YaST. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
Thanks Ken, worked like a champ, but instead of getting one rpm, I got 7. Looks like SUSE are making ruby a more complex environment in the OSS factory. They even have rubygems in the factory (in addition to the 7). I'm installing ruby on rails now. That is actually what I'm wanting to experiment with. Thanks again, Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century