Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-23 Thread Brian Gupta
http://www.ruby-lang.org/ I think is what he meant.

On Thu, Apr 19, 2012 at 3:54 PM, Dan White y...@comcast.net wrote:
 - Jo Rhett jrh...@netconsonance.com wrote:
 For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put 
 that number at the top of the spec file.


 FYI: ruby.org is a parked domain.

 “Sometimes I think the surest sign that intelligent life exists elsewhere in 
 the universe is that none of it has tried to contact us.”
 Bill Waterson (Calvin  Hobbes)

 --
 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+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-19 Thread Jo Rhett
On Apr 18, 2012, at 6:27 PM, Dan White wrote:
 On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote:
 On Apr 16, 2012, at 6:51 PM, Dan White wrote:
 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 ?
 
 Yes, this is the way it works.  Read up on what those particular rpath 
 errors mean, and I think you'll come to understand why they don't matter. 
 But it's best to read for yourself ;-)
 
 FYI, go edit that spec file and put the latest ruby patch release in there. 
 There's some important fixes in the latest ruby patches, and the spec file 
 and patches work just great with the latest ruby release.
 
 Might you be able to provide a few links or pointers to documentation and 
 patches ?

I'm not sure what you mean.  For ruby, go to ruby.org and find the latest 
patchlevel for 1.8.7 and put that number at the top of the spec file.

For rpath, try http://www.lmgtfy.com/  ;-)

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other 
randomness

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-19 Thread Dan White
- Jo Rhett jrh...@netconsonance.com wrote:
 For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put 
 that number at the top of the spec file.
 

FYI: ruby.org is a parked domain.

“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin  Hobbes)

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-18 Thread Jo Rhett
On Apr 16, 2012, at 6:51 PM, Dan White wrote:
 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 ?

Yes, this is the way it works.  Read up on what those particular rpath errors 
mean, and I think you'll come to understand why they don't matter. But it's 
best to read for yourself ;-)

FYI, go edit that spec file and put the latest ruby patch release in there. 
There's some important fixes in the latest ruby patches, and the spec file and 
patches work just great with the latest ruby release.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other 
randomness

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-18 Thread Dan White

On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote:

 On Apr 16, 2012, at 6:51 PM, Dan White wrote:
 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 ?
 
 Yes, this is the way it works.  Read up on what those particular rpath errors 
 mean, and I think you'll come to understand why they don't matter. But it's 
 best to read for yourself ;-)
 
 FYI, go edit that spec file and put the latest ruby patch release in there. 
 There's some important fixes in the latest ruby patches, and the spec file 
 and patches work just great with the latest ruby release.

Might you be able to provide a few links or pointers to documentation and 
patches ?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-16 Thread Dan White
Old thread reference:
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.
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.