[smokeping-users] problem building on RHEL

Tobias Oetiker tobi at oetiker.ch
Thu Jun 4 08:40:55 CEST 2015


Hi Al,

the problem most likely is that you did tell configure to install
the RRDs into your site-perl and not into the rrdtool install
directory as it is the case normally.

cheers
tobi


Yesterday Sorrell, Al wrote:

> On RHEL 6.6, I downloaded and installed RRDtool-1.5.3; I did a make and make install, and all seemed to work OK and the example programs work correctly. RRDtool is installed in /export/appl/rrdtool-1.5.3.
> ------------------------
>
> My Perl is V5.20.2 in /usr/local/bin/perl:
> # which perl
> /usr/local/bin/perl
>
> # perl -v
>
> This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux
>
> --------------------
>
> When I attempt to build Smokeping 2.6.11, the configure fails with the following:
>
> checking checking for perl module 'RRDs'... Can't locate loadable object for module RRDs in @INC (@INC contains: /export/appl/smokeping-2.6.11/thirdparty/lib/perl5 /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux /usr/local/lib/perl5/5.20.2 .) at -e line 1.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
> Failed
>
>
> However, searching in /usr/local/lib/perl5, I find the following, so I'm puzzled!
> # perl -e 'print join( "\n", at INC);'
> /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux
> /usr/local/lib/perl5/site_perl/5.20.2
> /usr/local/lib/perl5/5.20.2/x86_64-linux
> /usr/local/lib/perl5/5.20.2
>
> [/usr/local/lib/perl5]
> # find . -name RRD*
> ./site_perl/5.20.2/x86_64-linux/RRDs.pm
> ./site_perl/5.20.2/RRDp.pm
>
> # ll ./site_perl/5.20.2/x86_64-linux/RRDs.pm
> -r--r--r-- 1 root root 6020 Jun  3 15:23 ./site_perl/5.20.2/x86_64-linux/RRDs.pm
>
> # ll ./site_perl/5.20.2/RRDp.pm
> -r--r--r-- 1 root root 5497 Jun  3 15:26 ./site_perl/5.20.2/RRDp.pm
>
> ---------------
>
> I tried setting PERL5LIB= /export/appl/rrdtool/lib/perl as suggested, but got the same error...
>
> Any suggestions?
>
>
> _________________________
> Almon (Al) Sorrell
> Global Business Solutions and Technology Services
> Corporate Network Services | Network Engineering Consultant
>
> T. Rowe Price
> 4515 Painters Mill Road, TE9008
> Owings Mills, MD 21117
> Phone: (410) 345-3042  Cell:(443) 527-2398 Fax:(410) 345-3135
> Email: Al_Sorrell at troweprice.com
>
>
>
>
>
> T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice.  Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein.  Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail.
>
> The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902



More information about the smokeping-users mailing list