Click here to get back home

default location for apache2.pm

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
default location for apache2.pm ny152 10-03-2005
Get Chitika Premium
Posted by ny152 on October 3, 2005, 11:39 pm
Please log in for more thread options



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



Posted by Randy Kobes on October 8, 2005, 11:31 pm
Please log in for more thread options


>
> 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




Posted by Truman on October 12, 2005, 12:36 am
Please log in for more thread options



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



Similar ThreadsPosted
mod_perl -> Can't enable PerlResponeHandler in January 7, 2008, 7:06 am
Apache2::AuthenNTLM June 23, 2005, 3:28 am
apache2 and mod_perl July 24, 2005, 5:38 am
Apache2::Cookie August 23, 2005, 12:52 am
can apache::filter work with virtual location? July 28, 2007, 10:36 pm
Setting up mod_perl2 on apache2 , Windows XP Box September 2, 2005, 12:37 pm
mod_perl2, Apache2::RequestID::read January 6, 2008, 4:19 pm
Apache2::RequestIO::read: timeout error January 4, 2007, 3:32 pm
trying to use HTML::Mason on apache2 but scripts come up as plain text in the browser October 23, 2006, 1:50 am
DB_File default version August 10, 2004, 4:24 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap