Re: mod_perl-2.0.0-RC5 under Windows?

[prev] [thread] [next] [Date index for 2005/04/12]

From: Randy Kobes
Subject: Re: mod_perl-2.0.0-RC5 under Windows?
Date: 03:34 on 12 Apr 2005
On Mon, 11 Apr 2005, Octavian Rasnita wrote:

> Hi,
>
> Is it possible to install mod_perl-2.0.0-RC5 under Windows?

Yes, it should be. Once the official release candidate is
on CPAN, I'll make up a ppm package of it.

> I have tried but it tells me that it cannot find apxs nor
> ap_release.h.

There is no official apxs utility for Win32 on Apache2. When
building mod_perl-2, if apxs isn't detected, Makefile.PL
should offer to run the build\win32_fetch_apxs script which,
if you want, will configure and install an experimental apxs
utility for Win32. It isn't mandatory to install this, but
it helps, with mod_perl 2 and also with 3rd party Apache
modules.

As for not finding ap_release.h, this should be under
$APACHE2\include\, where $APACHE2 is the top-level Apache2
directory.

> Then I've tried using
>
> perl Makefile.pl --prefix=/apache2
>
> But it told that it can't find any libs ("Note: (probably harmless)").

Try
   perl Makefile.PL MP_AP_PREFIX=D:\Apache2
where D:\Apache2 is the top-level Apache2 directory. The
"PREFIX" option is used to specify an installation prefix
to use, if you want to change the default.

> But after finishing perl Makefile.pl and running nmake, it
> told that it cannot find a .dll somewhere in the Visual
> Studio 7 path...

Do you still get this problem after fixing the preceding?

If you're using VC++ 7, make sure that Perl and Apache2 are
also compiled with VC++ 7. People have run into problems
running extensions compiled with VC++ 7 against a Perl
compiled with VC++ 6 (which ActiveState uses to make their
Win32 ActivePerl binary).

        -- 
        best regards,
randy kobes

mod_perl-2.0.0-RC5 under Windows?
Octavian Rasnita 20:56 on 11 Apr 2005

Re: mod_perl-2.0.0-RC5 under Windows?
Randy Kobes 03:34 on 12 Apr 2005

Generated at 12:49 on 16 Apr 2005 by mariachi v0.52