On Fri, 7 Nov 2008 09:09:02 -0600
Evan Hisey wrote:

Hi Evan,

> I already did a rebuild. I ran in to this a while ago setting up
> puppetview. Here is the package I built for Centos and Puppet:
> http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm

Yep, I followed your treat: 

> > http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5.

but the problem persists:

> > that version creates:
> >
> > /root/RubyRRDtool-0.6.0/RRDtool.so
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Notice that now it's called RRDtool.so instead of RRD.so.
> >
> > So now, my error makes sense. Puppet is looking for RRD.so and not
> > RRDtool.so.
> >
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb
> >
> > # Load the library as a feature, so we can test its presence.
> >    Puppet.features.add :rrd, :libs => 'RRD'
> >
> >
> > Linking has no sense because of Init_RRDtool, so library
> > should be rebuild with the other name.
> >
> >
> > Someone knows how to do that ? May I open a bug?
> > I also send it to devel list.
> >

Installing your rpm points to same problem:

[EMAIL PROTECTED] ~]# wget -c 
http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm
--16:18:41--  http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm
Resolving unix.eng.ua.edu... 130.160.20.13
Connecting to unix.eng.ua.edu|130.160.20.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15020 (15K) [application/x-rpm]
--16:18:42--  (try: 2)  
http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm
Reusing existing connection to unix.eng.ua.edu:80.
HTTP request sent, awaiting response... 200 OK
Length: 15020 (15K) [application/x-rpm]
Saving to: `RubyRRDtool-0.6.0-1.i386.rpm'

100%[======================================================================================================================================>]
 15,020      45.5K/s   in 0.3s   

16:18:43 (45.5 KB/s) - `RubyRRDtool-0.6.0-1.i386.rpm' saved [15020/15020]

[EMAIL PROTECTED] ~]# rpm -
[EMAIL PROTECTED] ~]# rpm -Uhv RubyRRDtool-0.6.0-1.i386.rpm 
Preparing...                ########################################### [100%]
   1:RubyRRDtool            ########################################### [100%]

[EMAIL PROTECTED] ~]# rpm -ql  RubyRRDtool
/usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so
[...]
info: Processing reports rrdgraph, store, log for td234.pic.es
warning: RRD library is missing; cannot store metrics
warning: RRD library is missing; cannot graph metrics
warning: RRD library is missing; cannot store metrics
warning: RRD library is missing; cannot graph metrics
warning: RRD library is missing; cannot store metrics
warning: RRD library is missing; cannot graph metrics
err: Report rrdgraph failed: Could not find graphs for daily

 
> I would have to go and look back ad the Spec file to see what I did,
> but I do not think I did much beyond rebuild the package.

I understand you created:
/usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so 

but puppet looks for RDD.so, not RRDtool.so

> Evan
Thansk for your reply, at least someone reads me :-)

Cheers,
Arnau

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to