[smokeping-users] problem building on RHEL
Al_Sorrell at troweprice.com
Wed Jun 3 22:27:54 CEST 2015
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
# 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.
However, searching in /usr/local/lib/perl5, I find the following, so I'm puzzled!
# perl -e 'print join( "\n", at INC);'
# find . -name RRD*
# 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...
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smokeping-users