default location for apache2.pm

default location for apache2.pm

am 04.10.2005 08:39:43 von aditya2507

Hi,

I have just built Mod_Perl2 from source on my Win32 system. But when I
use the directive "use Apache2 ();" in my startup.pl, it gives me a
"Can't locate Apache2.pm in @INC" error.

I have put the usual Perl include directories in the system path. When
I checked for Apache2.pm, I found out that it is existing in
C:\Perl\site\lib\Bundle\ path. The mod_perl.so file, however does exist
in the Apache2\modules\ directory.

Besides that, the "Apache2" directory also exists in the path
"C:\Perl\site\lib".

It should also be noted that the makefile and the nmake command
executed without any errors when I compiled Mod_Perl2.

Any ideas/suggestions where I went wrong? Thank you in advance.

Truman

Re: default location for apache2.pm

am 09.10.2005 06:31:19 von Randy Kobes

"ny152" wrote in message
news:1128407983.583545.271570@g14g2000cwa.googlegroups.com.. .
>
> I have just built Mod_Perl2 from source on my Win32 system. But when I
> use the directive "use Apache2 ();" in my startup.pl, it gives me a
> "Can't locate Apache2.pm in @INC" error.

Apache2.pm is no longer used in mod_perl-2; see
http://perl.apache.org/docs/2.0/rename.html
for a list of related changes, and the reasons behind them.

--
best regards,
randy kobes

Re: default location for apache2.pm

am 12.10.2005 09:36:05 von aditya2507

Randy Kobes wrote:

> Apache2.pm is no longer used in mod_perl-2; see
> http://perl.apache.org/docs/2.0/rename.html
> for a list of related changes, and the reasons behind them.
>

Yeah, I figured that out sometime after I wrote my last post :)
But thanks, Randy!

Truman