Nagiosmapp addon

carole verdon verdon at cict.fr
Mon Jul 26 10:28:28 CEST 2004


In /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13, 
there is that:
use     Tk::Event ();

But the lines above are:
package Tk;
require 5.007;


Perhaps, there is a problem of Perl version? My version is 5.8.3.
$ /usr/local/bin/perl -v

This is perl, v5.8.3 built for sun4-solaris


My env output gives that:
$ env
_=/usr/bin/env
MANPATH=/usr/share/man:/usr/local/man:/usr/openwin/man:/opt/sfw/man:/opt/SUNWspro/man
VISUAL=emacs
SSH_TTY=/dev/pts/3
PATH=/home/nagios/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/opt/SUNWspro/bin:/usr/ucb:/usr/ccs/bin:/usr/local/mysql/bin:/usr/local/nagios/bin
OPENWINHOME=/usr/openwin
EDITOR=emacs
LOGNAME=nagios
MAIL=/var/mail//nagios
USER=nagios
DISPLAY=localhost:12.0
SHELL=/bin/ksh
HOME=/home/nagios
SSH_CONNECTION=130.120.74.37 58071 195.220.61.9 22
SSH_CLIENT=130.120.74.37 58071 22
LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql:/usr/local/ssl/lib:/usr/local/lib
TERM=xterm
XAPPLRESDIR=/usr/local/lib/X11/app-defaults
PWD=/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris
TZ=MET


Thanks for your response.

Steve Rieger wrote:

> Three questions
>
> What on /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13
>
> What is the env output
>
> Do a find for whatever it is on line 13, is that dir in your path
>
>  
>
> --
>
> Steve Rieger
>
> ICQ# 53956607
>
> MSN IM steve at n2sw.com <mailto:steve at n2sw.com>
>
> Yahoo IM riegersteve
>
> ------------------------------------------------------------------------
>
> *From:* nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of 
> *carole verdon
> *Sent:* Friday, July 23, 2004 5:16 AM
> *To:* Nagios Users
> *Subject:* [Nagios-users] Nagiosmapp addon
>
>  
>
>Hi all,
>
> 
>
>I would want to test the Nagiosmapp addon that i found in http://www.nagios.org/download/extras.php.
>
> 
>
>For that, i installed those two packages on my solaris nagios server 
>
>(v 1.2):
>
> 
>
>* Tk800-022-sol8-sparc-local.gz <ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/Tk800-022-sol8-sparc-local.gz>. Tk800 is Perl/Tk, a graphical user interface toolKit - installs in /usr/local.
>
> 
>
>* Perl module: *Tk::Event* <http://search.cpan.org/author/NI-S/Tk-804.027/Event/Event.pm> (Tk-804.027.tar.gz)
>
> 
>
> 
>
>But i always have erros when i execute nagiosmap.pl.
>
> 
>
>$ ./nagiosmap.pl
>
>Can't locate loadable object for module Tk::Event in @INC (@INC contains: /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13
>
>Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13.
>
>BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk.pm line 13.
>
>Compilation failed in require at ./nagiosmap.pl line 60.
>
>BEGIN failed--compilation aborted at ./nagiosmap.pl line 60.
>
>Undefined subroutine &Tk::Event::CleanupGlue called at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Tk/Event.pm line 3.
>
>END failed--call queue aborted at ./nagiosmap.pl line 60.
>
> 
>
> 
>
>I don't find solution. Can someone help me, please?
>
> 
>
> 
>
>Carole.
>
> 
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list