<br>
<br><tt><font size=2>Jerald Sheets <questy@gmail.com> schrieb am
20.11.2009 13:53:26:<br>
</font></tt>
<br><tt><font size=2>HI Jerald (and Gé)</font></tt>
<br><tt><font size=2>...> <br>
> Well, *you* know where it is, but Perl doesn't:</font></tt>
<br><tt><font size=2>> <br>
> Your find locates it here:</font></tt>
<br><tt><font size=2>> <br>
> /usr/lib/perl5/vendor_perl/5.10.0/Convert/BER.pm</font></tt>
<br><tt><font size=2>> <br>
> but Perl looked for it here:</font></tt>
<br><tt><font size=2>> <br>
> /home/xymon/devmon-0.3.1-beta1/modules<br>
>  /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi<br>
>  /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-<br>
> thread-multi <br>
>  /usr/lib/perl5/site_perl/5.10.0<br>
>  /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
<br>
>  /usr/lib/perl5/vendor_perl/5.10.0 <br>
>  /usr/lib/perl5/vendor_perl</font></tt>
<br><tt><font size=2>> <br>
> That "Convert" directory is not being looked into for Perl
modules. <br>
> Unfortunately, it never will look anywhere other than what was <br>
> compiled into it at install time.  Were you the programmer, you
<br>
> could make perl see the module a number of ways.  </font></tt>
<br><tt><font size=2>> <br>
> You could add path to the module at the top of your script:</font></tt>
<br><tt><font size=2>> <br>
> use lib /usr/lib/perl5/vendor_perl/5.10.0/Convert;</font></tt>
<br><tt><font size=2>> <br>
> You could export a variable at your environment level:</font></tt>
<br><tt><font size=2>> <br>
> export PERL5LIB=$PERL5LIB:/usr/lib/perl5/vendor_perl/5.10.0/Convert</font></tt>
<br><tt><font size=2>></font></tt>
<br><tt><font size=2>This var is not set in my installation. Setting it
and/or copying the</font></tt>
<br><tt><font size=2>modules from /usr/... to ~/devmon.../modules finds
the Convert-module,</font></tt>
<br><tt><font size=2>but devmon complains next about not finding the SNMP
module, which,</font></tt>
<br><tt><font size=2>according to a cpan "install SNMP" is uptodate.</font></tt>
<br><tt><font size=2> <br>
But following your further suggestions and RTFMing again, seems SNMP </font></tt>
<br><tt><font size=2>does not include SNMP::SESSION, which devmon requires.
Getting and </font></tt>
<br><tt><font size=2>compiling it from the website mentioned in devmon's
INSTALLATION </font></tt>
<br><tt><font size=2>text, devmon works now.</font></tt>
<br>
<br><tt><font size=2>Sorry for the noise and thanks for your reply, which
brought me on the</font></tt>
<br><tt><font size=2>right track.</font></tt>
<br>
<br><tt><font size=2>Yours</font></tt>
<br><tt><font size=2>hjb</font></tt>
<br>