You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jean-Marc Paulin <jm...@micromuse.com> on 2002/05/03 10:01:52 UTC

HELP - Trying to get mod_perl and Apache2 working together on Win32....

Hi there,

I am runing Win2000 SP2, and Apache 2.0.35

I have managed to build mod_perl (perl Makefile.PL and then nmake) but the
test part fails: Apache crashes (Memory at 0x00000018 cannot be read). Bug
Maybe ?

Ok, I believe that configuration has been tryed before, so I must be missing
a point somewhere.

Oh, BTW, I have tried the nmake install anyway, but that does not go very
well either as Apache fails to start if I include the PerlModule handler in
the httpd.conf.

Any hints ?

Thanks a lot

JM



================= STDOUT ============
D:\Perl\PerlModules\modperl-2.0>nmake test

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd "src/modules/perl" && NMAKE

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        D:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib  t/TEST -clean
          D:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib  t/TEST
*** : cannot build c-modules without apxs
D:\PROGRA~1\APACHE~1\Apache2/bin/Apache.exe  -d
D:/Perl/PerlModules/modperl-2.0/t -f
D:/Perl/PerlModules/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREA
DS
using Apache/2.0.35 (winnt MPM)
waiting for server to start: 00:00[Fri May 03 08:39:05 2002] [info] 12
Apache:: modules loaded
[Fri May 03 08:39:05 2002] [info] 5 APR:: modules loaded
[Fri May 03 08:39:05 2002] [info] base server + 6 vhosts ready to run tests
[Fri May 03 08:39:05 2002] [info] 11 Apache:: modules loaded
[Fri May 03 08:39:05 2002] [info] 5 APR:: modules loaded
[Fri May 03 08:39:05 2002] [info] base server + 6 vhosts ready to run tests
waiting for server to start: 00:01END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
END in modperl_extra.pl, pid=5084
waiting for server to start: ok (waited 1 secs)
server zola.dev.net:8529 started
server zola.dev.net:8530 listening (TestDirective::perlmodule)
server zola.dev.net:8531 listening (TestDirective::perlrequire)
server zola.dev.net:8532 listening (TestProtocol::echo)
server zola.dev.net:8533 listening (TestProtocol::echo_filter)
server zola.dev.net:8534 listening (TestProtocol::eliza)
server zola.dev.net:8535 listening (TestFilter::input_msg)
apache\cgihandler........ok
apache\compat............ok
apache\compat2...........ok
apache\conftree..........FAILED before any test output arrived
apache\constants.........ok
apache\post..............*** :
halting tests
NMAKE : fatal error U1058: terminated by user
Stop.


Re: HELP - Trying to get mod_perl and Apache2 working together on Win32....

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 3 May 2002, Jean-Marc Paulin wrote:

> Randy,
>
> Thanks a lot. I thought I was not the only one.
> In fact, this is not the test apache\post that hangs, but when running the
> test apache\conftree that apache.exe dies.what happens after is because I've
> aborted the script via Ctrl+Brk.

I didn't have a problem with apache\conftree the last time I
checked, but this was several days ago, with the cvs versions of
apache/mod_perl. Did this problem arise for you with the cvs
versions? If not, it may be worth trying these to see if your
problem persists.

> Regarding the Pb with Apache itself, I did copy the mod_perl.so to the
> modules folder with nmake install (so they said in the book)
>
> Are you running Apache 2.00.35 ?
> does the test (via nmake test) works for you ? or others ?

Running the individual tests as, eg,
    perl -Mblib t/TEST t/apache/post.t
works in running the tests individually for me, although
some do fail (eg, some in modperl/dir_config).

best regards,
randy


Re: HELP - Trying to get mod_perl and Apache2 working together on Win32....

Posted by Jean-Marc Paulin <jm...@micromuse.com>.
Randy,

Thanks a lot. I thought I was not the only one.
In fact, this is not the test apache\post that hangs, but when running the
test apache\conftree that apache.exe dies.what happens after is because I've
aborted the script via Ctrl+Brk.

Regarding the Pb with Apache itself, I did copy the mod_perl.so to the
modules folder with nmake install (so they said in the book)

Are you running Apache 2.00.35 ?
does the test (via nmake test) works for you ? or others ?

Regards,

JM


----- Original Message -----
From: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
To: "Jean-Marc Paulin" <jm...@micromuse.com>
Cc: <mo...@perl.apache.org>
Sent: Friday, May 03, 2002 3:41 PM
Subject: Re: HELP - Trying to get mod_perl and Apache2 working together on
Win32....


> On Fri, 3 May 2002, Jean-Marc Paulin wrote:
>
> > Hi there,
> >
> > I am runing Win2000 SP2, and Apache 2.0.35
> >
> > I have managed to build mod_perl (perl Makefile.PL and then nmake) but
the
> > test part fails: Apache crashes (Memory at 0x00000018 cannot be read).
Bug
> > Maybe ?
>
> It seems so ... However, as you note below, it hang on
> apache\post:
>
> > apache\cgihandler........ok
> > apache\compat............ok
> > apache\compat2...........ok
> > apache\conftree..........FAILED before any test output arrived
> > apache\constants.........ok
> > apache\post..............*** :
> > halting tests
>
> and yet, on my system, running
>
>     nmake t/TEST t/apache/post.t
>
> has this test running successfully. So it may be a problem in the
> way the tests are being run via 'nmake test', as opposed to a
> problem with individual tests. Further to this, if you run 'nmake
> test' and skip apache/post.t, it then hangs at the next test.
>
> >
> > Ok, I believe that configuration has been tryed before, so I must be
missing
> > a point somewhere.
> >
> > Oh, BTW, I have tried the nmake install anyway, but that does not go
very
> > well either as Apache fails to start if I include the PerlModule handler
in
> > the httpd.conf.
>
> Myself, and others, have got mod_perl to load OK ... What is
> your configuration that's failing? Did you copy the generated
> mod_perl.so to $APACHE/modules?
>
> best regards,
> randy kobes
>


Re: HELP - Trying to get mod_perl and Apache2 working together on Win32....

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 3 May 2002, Jean-Marc Paulin wrote:

> Hi there,
>
> I am runing Win2000 SP2, and Apache 2.0.35
>
> I have managed to build mod_perl (perl Makefile.PL and then nmake) but the
> test part fails: Apache crashes (Memory at 0x00000018 cannot be read). Bug
> Maybe ?

It seems so ... However, as you note below, it hang on
apache\post:

> apache\cgihandler........ok
> apache\compat............ok
> apache\compat2...........ok
> apache\conftree..........FAILED before any test output arrived
> apache\constants.........ok
> apache\post..............*** :
> halting tests

and yet, on my system, running

    nmake t/TEST t/apache/post.t

has this test running successfully. So it may be a problem in the
way the tests are being run via 'nmake test', as opposed to a
problem with individual tests. Further to this, if you run 'nmake
test' and skip apache/post.t, it then hangs at the next test.

>
> Ok, I believe that configuration has been tryed before, so I must be missing
> a point somewhere.
>
> Oh, BTW, I have tried the nmake install anyway, but that does not go very
> well either as Apache fails to start if I include the PerlModule handler in
> the httpd.conf.

Myself, and others, have got mod_perl to load OK ... What is
your configuration that's failing? Did you copy the generated
mod_perl.so to $APACHE/modules?

best regards,
randy kobes