Hi!
I've upgraded to Apache 1.3.12, perl 5.6.0 and mod_perl 1.23 (Randy's 
binary distribution) and now it doesn't work. I've found related topic in 
mailing list archive:
-------------------------------------------------
Subject:      Re: @INC in win32 mod_perl
Author:       Doug MacEachern <[EMAIL PROTECTED]>
Date:         Mon, 26 Jul 1999 13:44:20 -0700 (PDT)

On Mon, 5 Jul 1999, Francesc Guasch wrote:

 > I've been using very happily mod_perl and HTML::Mason in unix
 > environments. Now I need to install it in a win NT.
 >
 > I got apache working. I installed perl but when I try to launch
 > the mod_perl apache it complains this way:
 >
 > Can't locate Apache.pm in @INC, @INC contains /Apache , /apache/lib/perl
 > at (eval 1) line 3.

there must be more paths in @INC than that, unless you are clearing @INC
by accident.  what happens on the command line if you run:
perl -MApache -le 'print "ok"'

-Doug
----------------------------------------------------------
It is exactly my situation, but Doug's example works just fine. Also if I run
perl -V I get:
   @INC:
     C:/Perl/5.6.0/lib/MSWin32-x86
     C:/Perl/5.6.0/lib
     C:/Perl/site/5.6.0/lib/MSWin32-x86
     C:/Perl/site/5.6.0/lib
But if I try to run Apache I get:
[Tue May 30 11:01:06 2000] [error] Can't locate Apache.pm in @INC (@INC 
contains
: . c:/apache/ c:/apache/lib/perl) at (eval 1) line 3.

[Tue May 30 11:01:06 2000] [warn] pid file c:/apache/logs/httpd.pid overwritten
-- Unclean shutdown of previous Apache run?
Apache.pm failed to load!.
Where is this INC taken from and how can I modify it?

Regards,
Gundars

Reply via email to