[smokeping-users] Help with PERL5LIB error

Tom Throckmorton throck+smokeping at gmail.com
Thu Sep 5 05:22:13 CEST 2013


Matt;

It looks like you have rpmforge repos enabled and you're pulling in el5
packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.x86_64.  Not only is that
package for the wrong dist, it is also for the wrong version of perl on
6.4 (5.10).  At this point, I would 'yum erase perl-rrdtool' and then
'yum install rrdtool-perl --disablerepo=rpmforge'.  That should take
care of your RRDs location issue for the build.

Beyond that, it looks like you may have the wrong rpmforge-release
package installed; you may want to backout any packages you installed
from that repo, correct that and then start again.

cheers,

-tt


On 09/04/2013 07:17 PM, Matt Almgren wrote:
> Hi Lars, I tried the following:
> 
> 237  export
> PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> <Same Error>
> 
> Then I tried to add a link to the @INC lib: 
> 
> 245  cd /usr/share/perl5/
> 246  ln -s
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm .
> <Same Error>
> 
> Still getting same results:
> 
> checking checking for perl module 'RRDs'... Failed
> checking checking for perl module 'FCGI'... Ok
> checking checking for perl module 'CGI'... Ok
> checking checking for perl module 'CGI::Fast'... Ok
> checking checking for perl module 'Config::Grammar'... Ok
> checking checking for perl module 'Digest::HMAC_MD5'... Ok
> checking checking for perl module 'LWP'... Ok
> 
> ** Aborting Configure ******************************
> 
>    If you know where perl can find the missing modules, set
>    the PERL5LIB environment variable accordingly.
> 
> <snip>
> 
> 
> 
> 
> 
> 
> On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler <lars at thegler.dk
> <mailto:lars at thegler.dk>> wrote:
> 
>     On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren <almgren at gmail.com
>     <mailto:almgren at gmail.com>> wrote:
>     > I am pulling my hair out here.  I have a new CentOS6.4 install and
>     running
>     > into problems installing smokeping.  I'm not sure what to make of this
>     > PERL5LIB.  I set it to /usr/bin/perl and still see problems.  Any
>     ideas?
> 
>     PERL5LIB is a list of directories in which perl will look for module
>     files, in addition to the built-in directories. So, find out where
>     you've installed RRDs.pm, and add that directory to PERL5LIB.
> 
>     /Lars
> 
> 
> 
> 
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
> 



More information about the smokeping-users mailing list