Ask a Question related to PERL Modules, Design and Development.
-
Stan Brown #1
RRD confusion
I've been using a script called weathergraph on a FreeBSD box for years.
Last week I upgraded the machine, and the script stopped working.
One of the "dirty little secrets" about FreeBSD is it's poor handling of
perl upgrades. I've found that I have to reinstall all the modules I need,
after perl is upgraded on these machine. Now normally this is not a huge
deal, as I can do it the the portupgrade tool.
However in this case, it looks like this script uses a module not in the
FreeBSD ports system: Here's the line:
use RRDs;
I'm confused as to what module I need to get from CPAM to hand el this
properly.
Can someone enlighten me, please?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Stan Brown Guest
-
emf confusion
Can anyone tell me what has happened in the settings of Freehand 8 when this problem occurs: Whereas FH drawings that were made months ago, and... -
ai. vs pdf confusion
My illustrator 10 is not cooperating. After making a file going to file>save>format adobe illus and leaving all options clicked, i hit "ok". the file... -
Net Confusion
It should work, but this problem is notorious to VS.NET. See... -
CD/RW Confusion?
I need a primer on writing to a CD/RW disk. My current drive supports CD/RW disks, but for some reason I keep getting error messages when I try to... -
eps confusion
FH has the ability to edit some EPS file, but not all. In fact eps files FH exports are not editable unless you check "Include Freehand". If you have... -
Greg Bacon #2
Re: RRD confusion
In article <d96r9r$5au$1@reader1.panix.com>,
Stan Brown <stanb@panix.com> wrote:
: [...]
: However in this case, it looks like this script uses a module not in the
: FreeBSD ports system: Here's the line:
:
: use RRDs;
:
: I'm confused as to what module I need to get from CPAM to hand el this
: properly.
:
: Can someone enlighten me, please?
Not sure if it's available on CPAN, but according to the FAQ for
webminstats[*] on SF, you need rrdtool:
[url]http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/[/url]
[*] [url]http://webminstats.sourceforge.net/faq.html#installation5[/url]
Hope this helps,
Greg
--
...wherever the Welfare State is involved, the moral precept, "Thou shalt not
steal," becomes altered to say: "Thou shalt not steal, except for what thou
deemest to be a worthy cause, where thou thinkest that thou canst use the loot
for a better purpose than wouldst the victim of the theft." -- F. A. Harper
Greg Bacon Guest
-
Stan Brown #3
Re: RRD confusion
In <11be49g83rosuba@corp.supernews.com> [email]gbacon@hiwaay.net[/email] (Greg Bacon) writes:
>In article <d96r9r$5au$1@reader1.panix.com>,
> Stan Brown <stanb@panix.com> wrote:>: [...]
>: However in this case, it looks like this script uses a module not in the
>: FreeBSD ports system: Here's the line:
>:
>: use RRDs;
>:
>: I'm confused as to what module I need to get from CPAM to hand el this
>: properly.
>:
>: Can someone enlighten me, please?>Not sure if it's available on CPAN, but according to the FAQ for
>webminstats[*] on SF, you need rrdtool:> [url]http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/[/url]Mmm, that's the rrdtool libraries themselves. I;ve got them, thanks to>[*] [url]http://webminstats.sourceforge.net/faq.html#installation5[/url]
ports, but I need the perl module to use them. Or at leas that's what I
_think_.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Stan Brown Guest
-
Sisyphus #4
Re: RRD confusion
"Stan Brown" <stanb@panix.com> wrote in message
Google turned up that module's documentation at>>> >Not sure if it's available on CPAN, but according to the FAQ for
> >webminstats[*] on SF, you need rrdtool:>> > [url]http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/[/url]>> >[*] [url]http://webminstats.sourceforge.net/faq.html#installation5[/url]
> Mmm, that's the rrdtool libraries themselves. I;ve got them, thanks to
> ports, but I need the perl module to use them. Or at leas that's what I
> _think_.
>
[url]http://crs.ciril.fr/public/docs/rrdtool/RRDs.html[/url] . Maybe the module itself
is there somewhere. (The documentation gives the author's email address, so
you could perhaps make use of that if need be.)
Cheers,
Rob
Sisyphus Guest
-
pkent #5
Re: RRD confusion
In article <42b766db$0$26758$afc38c87@news.optusnet.com.au> ,
"Sisyphus" <sisyphus1@nomail.afraid.org> wrote:
....> "Stan Brown" <stanb@panix.com> wrote in message> > >Not sure if it's available on CPAN, but according to the FAQ for
> > >webminstats[*] on SF, you need rrdtool:Depending on how you installed rrdtool itself, you might/should already> > Mmm, that's the rrdtool libraries themselves. I;ve got them, thanks to
> > ports, but I need the perl module to use them. Or at leas that's what I
> > _think_.
have RRDs.pm - it just won't be in your PERL5LIB path. The perl modules
were installed as part of the rrdtool installation. On my system the
perl modules are in /usr/local/rrdtool/lib/perl:
dev:/usr/local/rrdtool/lib/perl $ ls
total 24
drwxr-xr-x 3 root root 4096 Oct 10 2004 .
drwxr-xr-x 3 root root 4096 Oct 10 2004 ..
-rw-r--r-- 1 root root 4514 Oct 10 2004 RRDp.pm
-rw-r--r-- 1 root root 3514 Oct 10 2004 RRDs.pm
drwxr-xr-x 3 root root 4096 Oct 10 2004 auto
e.g. if I run this command:
$ PERL5LIB=/usr/local/rrdtool/lib/perl perldoc RRDs
I get the docs. If you want to use the module you can of course alter
PERL5LIB, "use lib", etc. according to taste.
P
--
pkent 77 at yahoo dot, er... what's the last bit, oh yes, com
Remove the tea to reply
pkent Guest



Reply With Quote

