LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   smokeping Can't locate BER.pm in @INC (http://www.linuxquestions.org/questions/slackware-14/smokeping-cant-locate-ber-pm-in-%40inc-644934/)

kissfreeman 05-26-2008 06:13 PM

smokeping Can't locate BER.pm in @INC
 
I am trying to install smokeping but keep failing because of this error:

Can't locate BER.pm in @INC (@INC contains: /usr/local/smokeping/lib /usr/local/rrdtool-1.2.0/lib/perl/5.8.8/i486-linux-thread-multi /usr/local/rrdtool-1.2.0/lib/perl/5.8.8 /usr/local/rrdtool-1.2.0/lib/perl /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/local/smokeping/lib/SNMP_util.pm line 40.
BEGIN failed--compilation aborted at /usr/local/smokeping/lib/SNMP_util.pm line 40.
Compilation failed in require at /usr/local/smokeping/lib/Smokeping.pm line 9.
BEGIN failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm line 9.
Compilation failed in require at ./smokeping line 7.
BEGIN failed--compilation aborted at ./smokeping line 7.

Help would be great

mRgOBLIN 05-26-2008 07:08 PM

looks like you don't have BER.pm installed. It's a perl module.

You could install with CPAN (as root)
Code:

perl -MCPAN -e "install Convert::BER"
Be prepared to answer a few questions if you have never run CPAN before.

or you might grab and install it manually from here http://search.cpan.org/src/GBARR/Convert-BER-1.3101/ but you may or may not need to satisfy some dependencies with this method.

SmokePing will likely list the required Perl modules and any other dependencies in the README/INSTALL files so probably best to read those first.

kissfreeman 05-27-2008 01:51 AM

Quote:

perl -MCPAN -e "install Convert::BER"
I did that and still getting the same errors.

I also install the rrdtool since that is what smokeping need and still that app won't work


All times are GMT -5. The time now is 07:31 AM.