LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

about mon ,how to run

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: about mon ,how to run
From: "Jin Jian" <jinjian@xxxxxxxx>
Date: Thu, 26 Feb 2004 10:06:52 +0800
Hello

I met a question ,i can not solve it.
when I compiled the snmp-4.2.0,the following is displayed:
----------------------------------------------------------
My is  redhat 9.0, Perl 5.8.1, ucd-snmp 4.2.2.
----------------------------------------------------------
>perl Makefile.pl

Where are the ucd-snmp include files? [/usr/local/include] 
Where is the ucd-snmp library installed? [/usr/lib] 
WARNING: MAN3PODS takes a hash reference not a string/number.
         Please inform the author.
Checking if your kit is complete...
Looks good
Can't use string ("SNMP") as a HASH ref while "strict refs" in use at 
/usr/local/lib/perl5/5.8.1/ExtUtils/MM_Unix.pm line 503.
--------------------------------------
then I copy that SNMP.pm to the path of perl's @INC

but when I run ./mon then display

---------------------------------------------
Can't locate loadable object for module SNMP in @INC (@INC contains: 
/usr/local/lib/perl5/5.8.1/i686-linux /usr/local/lib/perl5/5.8.1 
/usr/local/lib/perl5/site_perl/5.8.1/i686-linux 
/usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl .) at 
/var/mon-0.99.2/mon line 51
Compilation failed in require at /var/mon-0.99.2/mon line 51.
BEGIN failed--compilation aborted at /var/mon-0.99.2/mon line 51.
---------------------------------------------------------------------

Can you tell me how to solve this question ? I really want ....
Thanks ,best regards 


jinjian
<Prev in Thread] Current Thread [Next in Thread>