http://www.mail-archive.com/puppet-users@googlegroups.com/msg27199.html
I am trying to build Ruby 1.8.7 on a RHEL 5 system following the instructions in that thread and I have a few questions as I am a n00b to RPM building:
On Jan 4, 2012, at 8:04 PM, Jo Rhett wrote:
wget http://rbel.frameos.org/stable/el5/SRPMS/ruby-1.8.7.352-5.el5.src.rpm
rpm -i ruby-1.8.7.352-5.el5.src.rpm
rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec
For any of the nodes, you need only put this RPM in your repository and have Puppet upgrade them. It just works ;-)
When I ran the rpmbuild command, I got no RPM's.wget http://rbel.frameos.org/stable/el5/SRPMS/ruby-1.8.7.352-5.el5.src.rpm
rpm -i ruby-1.8.7.352-5.el5.src.rpm
rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec
For any of the nodes, you need only put this RPM in your repository and have Puppet upgrade them. It just works ;-)
I got a bunch of error complaining about "rpaths", and in the output was a suggestion to prepend an environment setting to the command -- like this:
QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec
When I ran this, the previous errors were now warnings, and I got a set of RPM's.
Is this The Way It Works ?
Is it possible to eliminate the errors/warnings ?
Would a link to a PatchBin of the build output help ?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.