Great! It worked now thanks! I only had to "install --force libapreq" and it worked.
----- Original Message ----- From: "Randy Kobes" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 23, 2002 12:35 AM Subject: Re: mod_perl on windows > On Fri, 22 Mar 2002, [EMAIL PROTECTED] wrote: > > > Hi. > > my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev > > perl v5.6.1 > > Consider this sample script: > > > > use Apache::Request; > > use strict; > > use warnings; > > > > my $r=Apache->request; > > my $apr = Apache::Request->new($r); > > $r->send_http_header('text/html'); > > > > The first time i run the script the error is: > > " Can't locate loadable object for module Apache::Request in @INC " > > > > Any trials after that would give: > > " Can't locate object method "new" via package "Apache::Request" " > > > > I saw some other guy in the list had a similar program but in > > his case installing the libapreq pragma solved his problem.My > > problem is that the pragma seems already installed using ppm > > (!) but can't be installed using perl -MCPAN -e shell because > > it needs me to build mod_perl first.. However I've installed > > the BINARY mod_perl version using the ppm method described in > > the mod_perl cookbook listing 1.2 so the second method fails. > > Did you install the libapreq ppm package from ActiveState's > repository, or from the repository at > http://theoryx5.uwinnipeg.ca/ppmpackages/? If it was > from Activestate's, maybe try the latter. > > best regards, > randy kobes > >