Vladimir, I already done this you saying and didn't solve. That's why I'm posting again.
Thanks anyway. Quoting Vladimir Vassiliev <[EMAIL PROTECTED]>: > Hi, Manuela! > It's seems that this simple edit don't help. > > Simple test: > #!/usr/bin/perl > > use lib qw(/usr/local/rrdtool-1.2.23/lib/perl); > use strict; > require RRDs; > RRDs::error; > > Result: > Bareword "RRDs::error" not allowed while "strict subs" in use at > ./1.pl line 8. > Execution of ./1.pl aborted due to compilation errors. > > Try use --enable-perl-site-install instead of use lib qw(..). > > Good luck. > > P.S. You missed something - I already wrote that in mailing list:). > > On Sunday 17 February 2008 15:18, you wrote: >> 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. >> > 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
