[smokeping-users] Help with PERL5LIB error
Matt Almgren
almgren at gmail.com
Thu Sep 5 19:47:58 CEST 2013
Thanks all, I followed Jean's page and it was successful. It turns out that
I was using the wrong rpmforge repo.
-- Matt
On Wed, Sep 4, 2013 at 10:57 PM, Jaysen Johnson <jaysen at jedinetworks.com>wrote:
> The We Debug You guide is excellent, I used it for my SmokePing setup.
>
> http://www.wedebugyou.com/**2012/11/how-to-install-and-**
> configure-smokeping-on-centos-**6/<http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/>
>
> Jaysen Johnson
>
>
> On 9/4/2013 22:55, Matt Almgren wrote:
>
>> Hi Jean, we've actually worked together last year with your guide and my
>> input. I documented all the steps from your guide and my suggestions.
>> They've worked at least a handful of times before, so I'm surprised it
>> failed this time.
>>
>>
>> -- iMatt
>>
>> On Sep 4, 2013, at 9:23 PM, Jean <jean at wedebugyou.com
>> <mailto:jean at wedebugyou.com>> wrote:
>>
>> Hi,
>>>
>>> It seems there is no smokeping package under centos.
>>>
>>> Try this guide. If any improvement needs to be done, I would be happy
>>> to contribute.
>>>
>>> http://www.wedebugyou.com/**2012/11/how-to-install-and-**
>>> configure-smokeping-on-centos-**6/<http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/>
>>>
>>> Good luck
>>>
>>> Jean
>>>
>>> On 2013-09-05, at 5:22, Tom Throckmorton <throck+smokeping at gmail.com
>>> <mailto:throck+smokeping@**gmail.com <throck%2Bsmokeping at gmail.com>>>
>>> wrote:
>>>
>>> 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>
>>>>> <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>
>>>>> <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 <smokeping-users at lists.oetiker.ch>
>>>>> <mailto:smokeping-users at lists.**oetiker.ch<smokeping-users at lists.oetiker.ch>
>>>>> >
>>>>> https://lists.oetiker.ch/cgi-**bin/listinfo/smokeping-users<https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users>
>>>>>
>>>>>
>>>> ______________________________**_________________
>>>> smokeping-users mailing list
>>>> smokeping-users at lists.oetiker.**ch <smokeping-users at lists.oetiker.ch>
>>>> <mailto:smokeping-users at lists.**oetiker.ch<smokeping-users at lists.oetiker.ch>
>>>> >
>>>> https://lists.oetiker.ch/cgi-**bin/listinfo/smokeping-users<https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users>
>>>>
>>>
>>
>> ______________________________**_________________
>> smokeping-users mailing list
>> smokeping-users at lists.oetiker.**ch <smokeping-users at lists.oetiker.ch>
>> https://lists.oetiker.ch/cgi-**bin/listinfo/smokeping-users<https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130905/2957e870/attachment-0001.htm
More information about the smokeping-users
mailing list