nagios breaks with strict.pm error after up2date on Red Hat 7.1

Petar Nikolich petar at escape.net.au
Mon Sep 16 15:18:10 CEST 2002


Thanks Oliver,

The error message refers to strict.pm but the line in p1.pl (nagios)
does not refer to strict.pm but 'use strict' which is not a module.

I would have through the correct line would be 'use Strict.pm;'
instead of 'use strict;' if the module was the issue.



Cheers

..Petar

----- Original Message -----
From: "Oliver Thieke" <thieke at tagesspiegel.de>
To: <nagios-users at lists.sourceforge.net>
Sent: Monday, September 16, 2002 9:05 PM
Subject: Re: [Nagios-users] nagios breaks with strict.pm error after up2date on Red Hat
7.1


> Hi,
>
>  > my problem
>  > The Line 13 referred  to in p1.pl is the first of these three:
>  > use strict;
>  > ERROR: Can't locate strict.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.0/i386-linux
>  > I don't understand /why/ it is looking for strict.pm when it is a
>  > scoping directive and not a module (I think?)
>
> Well, right now I don't have access to an LX box to check it.
> But on Solaris (sunfreeware) and NT (ActiveState) "Strict"
> IS a module (strict.pm). Hence something with your perl installation
> or the $PATH seems to be screwed up...
>
> HTH
>
> Oliver
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list