[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - RRD 1.4.7 installation problem

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 12:17 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Mar 11, 2012 10:38 am 
Offline
User

Joined: Sun Mar 11, 2012 10:30 am
Posts: 5
Hi!

Its becoming a night mare installing RRDtool 1.4.7.
I did all the prerequisites.


cd /rrdtool-1.4.7

./configure
make
make install
ln -sf /opt/rrdtool-1.4.7 /opt/rrdtool
ln -sf /opt/rrdtool /usr/local/rrdtool

I have problem with RRDs.pm
perl -e "use RRDs; print $RRDs::VERSION;"
Can't locate RRDs.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

If I locate:
locate RRDs.pm
/opt/rrdtool-1.4.7/bindings/perl-shared/RRDs.pm
/rrdtool-1.4.7/bindings/perl-shared/RRDs.pm
/rrdtool-1.4.7/bindings/perl-shared/blib/lib/RRDs.pm
/usr/local/lib/perl/5.10.1/x86_64-linux-thread-multi/RRDs.pm


rrdtool -V
RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mar 8 2012 14:25:32

Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport, flushcached

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (http://www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages


Please let me know what should i do?

Thanks.


Top
 Profile Send private message  
 
PostPosted: Wed Mar 14, 2012 4:22 am 
Offline
User

Joined: Sun Mar 11, 2012 10:30 am
Posts: 5
Can anyway help me with this as my in RRDtool my post still waiting for acceptance.

I removed the old installation and tried with a new one. During make process i can see logs of warning:

/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv RRDs.xsc RRDs.c
gcc -c -I../../src -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.4007\" -DXS_VERSION=\"1.4007\" -fPIC "-I/usr/lib64/perl5/CORE" -DPERLPATCHLEVEL=10 RRDs.c
RRDs.c: In function âXS_RRDs_graphâ:
RRDs.c:349: warning: unused variable âRETVALâ
RRDs.c: In function âXS_RRDs_fetchâ:
RRDs.c:413: warning: unused variable âRETVALâ
RRDs.c: In function âXS_RRDs_timesâ:
RRDs.c:483: warning: unused variable âRETVALâ
RRDs.c: In function âXS_RRDs_xportâ:
RRDs.c:528: warning: unused variable âtargâ
RRDs.c:527: warning: unused variable âRETVALâ
RRDs.xs:322: warning: unused variable ârow_cntâ
RRDs.xs: In function âXS_RRDs_infoâ:
RRDs.xs:383: warning: value computed is not used
RRDs.xs:383: warning: value computed is not used
RRDs.xs:383: warning: value computed is not used
RRDs.xs:383: warning: value computed is not used
RRDs.xs:383: warning: value computed is not used
RRDs.xs:383: warning: pointer targets in passing argument 2 of âPerl_newSVpvâ differ in signedness
/usr/lib64/perl5/CORE/proto.h:2210: note: expected âconst char *â but argument is of type âunsigned char *â
RRDs.xs:383: warning: value computed is not used
RRDs.xs: In function âXS_RRDs_updatevâ:
RRDs.xs:396: warning: value computed is not used
RRDs.xs:396: warning: value computed is not used
RRDs.xs:396: warning: value computed is not used
RRDs.xs:396: warning: value computed is not used
RRDs.xs:396: warning: value computed is not used
RRDs.xs:396: warning: pointer targets in passing argument 2 of âPerl_newSVpvâ differ in signedness
/usr/lib64/perl5/CORE/proto.h:2210: note: expected âconst char *â but argument is of type âunsigned char *â
RRDs.xs:396: warning: value computed is not used
RRDs.xs: In function âXS_RRDs_graphvâ:
RRDs.xs:409: warning: value computed is not used
RRDs.xs:409: warning: value computed is not used
RRDs.xs:409: warning: value computed is not used
RRDs.xs:409: warning: value computed is not used
RRDs.xs:409: warning: value computed is not used
RRDs.xs:409: warning: pointer targets in passing argument 2 of âPerl_newSVpvâ differ in signedness
/usr/lib64/perl5/CORE/proto.h:2210: note: expected âcons

--------------------------------------------
perl -e "use RRDs; print $RRDs::VERSION;"
Can't load '/usr/local/lib64/perl5/auto/RRDs/RRDs.so' for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at -e line 1
Compilation failed in require at -e line 1.
--------------------------------------------


Thanks


Top
 Profile Send private message  
 
PostPosted: Wed Mar 14, 2012 10:32 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The compilation warnings are not a problem. Your issue is with the installation location.

You need to do a 'Site perl' install to install into your normal library locations, else it will go into a subdir under whatever install directory you specified. You've installed the Perl libraries under /opt/rrdtool/lib

Make sure you either have the location of RRDs.pm added to your perl module path, or else copy the relevant files to your relevant directory.

The librrd.so also needs to be in your LD_LIBRARY_PATH. Under Redhat, you can add a file /etc/ld.so.conf.d/rrdtool.conf containing the line '/opt/rrdtool/lib' to make this work.

Steve

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Thu Mar 15, 2012 4:21 am 
Offline
User

Joined: Sun Mar 11, 2012 10:30 am
Posts: 5
Hi Steve!

Thanks alot for your reply.

I have create symbolic link
rrdtool -> /opt/rrdtool

so i have my rrdtool under

/usr/local/rrdtool

I was reading one of the post on:
http://martybugs.net/linux/rrdtool/
I can see the make site-perl-install but I am not sure where to run this so that it will automatically adjust the path required for perl.


Top
 Profile Send private message  
 
PostPosted: Thu Mar 15, 2012 4:51 am 
Offline
User

Joined: Sun Mar 11, 2012 10:30 am
Posts: 5
I built the package again and now its.
Can't load '/usr/local/lib64/perl5/auto/RRDs/RRDs.so' for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Thanks.


Top
 Profile Send private message  
 
PostPosted: Fri Mar 16, 2012 11:31 pm 
Offline
User

Joined: Sun Mar 11, 2012 10:30 am
Posts: 5
I tried the command below

yum install perl-Log-Log4perl-RRDs.noarch


Now i cant see any error if the run perl -e "use RRDs; print $RRDs::VERSION;"

I guess now the problem is solved.

Thanks


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group