<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 10, 2015 at 3:32 PM, Tobias Oetiker <span dir="ltr"><<a href="mailto:tobi@oetiker.ch" target="_blank">tobi@oetiker.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">Today Maxwell Carey wrote:<br>
<br>
> > Today Cosimo Streppone wrote:<br>
> ><br>
> > > I started out by including RRD::Simple, then I noticed it uses<br>
> > > RRDs.pm under the hood, so I converted my code to it.<br>
> > ><br>
> > > I searched for RRDs on the CPAN, but I can't find it,<br>
> > > not on metacpan nor on <a href="http://search.cpan.org" rel="noreferrer" target="_blank">search.cpan.org</a>.<br>
> > ><br>
> > > Doesn't that make CPAN distributions that need to depend<br>
> > > on RRDs/RRDtool automatically broken?<br>
> > ><br>
> ><br>
><br>
> No more broken than any Perl module that has a dependency on an external<br>
> library or binary, e.g. SNMP.pm, XML::LibXML, most of the DBD::* modules,<br>
> the list goes on.<br>
><br>
> If you try to install one of these from CPAN without first installing the<br>
> dependency, the build will break. This makes sense, if you think about it.<br>
> I wouldn't expect DBD::mysql to install properly if I didn't have the MySQL<br>
> client installed on my system, for example.<br>
<br>
</div></div>so you would want me to maintain packages for each of the scripting<br>
languages supported by rrdtool (which are tied to features in<br>
certain versions of the library) independently of the main program<br>
and keep them updated in the different scripting languages<br>
repositories ?<br></blockquote><div><br></div><div>Nope, not what I'm saying at all, sorry if I was unclear. I was responding to Cosimo's question, "Doesn't that make CPAN distributions that need to depend on RRDs/RRDtool automatically broken?" My point was that RRD::Simple is not "automatically broken"  because it's dependent on RRDs/rrdtool, just like XML::LibXML is not broken because it's dependent on libxml2. Some Perl modules have external dependencies; if you want to use those modules, you have to install the dependencies yourself. You can't expect the CPAN shell to install libxml2 for you, and you can't expect it to install rrdtool for you either.<br><br></div><div>The way you're currently packaging RRDs is fine, and I can't imagine it working very well on CPAN because of the version dependencies you mention.<br></div></div></div></div>