Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. Net Confusion
      It should work, but this problem is notorious to VS.NET. See...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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]
    >[*] [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_.

    --
    "They that would give up essential liberty for temporary safety deserve
    neither liberty nor safety."
    -- Benjamin Franklin
    Stan Brown Guest

  5. #4

    Default Re: RRD confusion


    "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:
    >
    > > [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_.
    >
    Google turned up that module's documentation at
    [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

  6. #5

    Default 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:
    ....
    > > 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_.
    Depending on how you installed rrdtool itself, you might/should already
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139