Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RRDs Installation problem

by abubacker (Pilgrim)
on Dec 11, 2010 at 10:44 UTC ( #876581=perlquestion: print w/ replies, xml ) Need Help??
abubacker has asked for the wisdom of the Perl Monks concerning the following question:

I tried to install RRDs
I am using debian lenny 5.0
I refer this link
http://kobesearch.cpan.org/htdocs/RRD-Simple/INSTALL.html

but when I install the librrds-perl
 sudo apt-get install librrds-perl
It says the following error
"E: Internal Error, Could not perform immediate configuration (2) on perl-modules"
what this error denotes !
help me to install RRDs

Comment on RRDs Installation problem
Select or Download Code
Re: RRDs Installation problem
by Anonymous Monk on Dec 11, 2010 at 11:28 UTC
Re: RRDs Installation problem
by Khen1950fx (Canon) on Dec 11, 2010 at 12:28 UTC
    First, download the source here.

    Second, install using

    ./configure --with-gnu-ld, make, make install, (do your system's ldcon +fig. The libs are in /usr/local/rrdtool-1.3.1/lib).

    Third, cd to ./rrdtool-1.3.1/bindings/perl-shared.

    Fourth, run perl Makefile.PL, make, make test, make install.

    Fifth, RRDs is installed.

    Sixth, run cpan RRD::Simple

    Seventh, done!

    Update: if t/32 fails, do force install.

      No, don't do that on a Debian system. Use the Debian provided packages, or compile a complete perl suite together with modules in /opt or /usr/local. Debian system tools rely heavily on perl, and you may break your system by overwriting modules with different versions that the package manager isn't aware of.
Re: RRDs Installation problem
by wazoox (Prior) on Dec 11, 2010 at 18:00 UTC

    As Anonymous said, you may have deleted a system directory and your system may be broken and need reinstallation. First, use 'aptitude' instead of 'apt-get', it's more advanced; aptitude and apt-get share most options. You should first try to repair the installation:

    aptitude update aptitude install -f

    This should update/remove/install needed packages.

    If these commands fail to set back the system to a working state, as apparently you're not a skilled Debian administrator, you must consider your system broken. You'll have to reinstall it from scratch. else you can retry to install :

    aptitude install librrds-perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://876581]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-09-19 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls