Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2021-04-18 05:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found