Edit my sources?
Well I had to edit NfSenRRD.pm line 38 because appeared to me the
following error:
Can't locate loadable object for module RRDs in @INC (@INC contains:
./libexec ./installer-items /usr/lib/perl5/sparc-linux /usr/lib/perl5
/usr/lib/perl5/site_perl/sparc-linux /usr/lib/perl5/site_perl .) at
libexec/NfSenRRD.pm line 38
Then I made the edition.
Before:
package NfSenRRD;
use RRD;
use Log;
After:
package NfSenRRD;
use lib qw(/usr/local/rrdtool-1.2.23/lib/perl/5.6.1/sparc-linux/auto/RRD);
#use RRDs.pm;
use Log;
After that I also altered the lines below following the sugestion.
./install.pl etc/nfsen.conf
Found = in conditional, should be == at libexec/NfSenRRD.pm line 528.
Found = in conditional, should be == at libexec/NfSenRRD.pm line 605.
Bareword "RRDs::error" not allowed while "strict subs" in use at
libexec/NfSenRRD.pm line 134.
But then it continued with the "Bareword" error and now I don't know
what to do anymore.
Any sugestion?
Thanks.
Quoting Vladimir Vassiliev <[EMAIL PROTECTED]>:
> On Friday 15 February 2008 01:47, Manuela Lima wrote:
>> Still with the same error:
>>
>> #./install.pl etc/nfsen.conf
>> Bareword "RRDs::error" not allowed while "strict subs" in use at
>> libexec/NfSenRRD.pm line
>> 134.
>> Compilation failed in require at libexec/NfSen.pm line 43.
>> BEGIN failed--compilation aborted at libexec/NfSen.pm line 43.
>> Compilation failed in require at ./install.pl line 44.
>> BEGIN failed--compilation aborted at ./install.pl line 44.
>>
>> Any help please!?!?!
>>
> Hi, Manuela!
> It's strange that you have that error on line 134, because line 133
> contains "RRDs::error".
> 133: $ERR=RRDs::error;
> 134: if ( $ERR ) {
>
> Did you edit sources?
>
Manuela Lima
Bolsista ITI - CAT/CBPF
----------------------------------------------------------------
CBPF WebMail - by CAT
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss