Pb with Win32 Installation
Hi there, I have downloaded the CSV Image file modperl-2.0_20020502042105.tar.gz and tried to compile it for Apache 2.0.35. The build is ok (or looks good anyway) but Apache dies during the nmake test. Any ideas ? I do not mind trying to debug this, but I have no idea where to start Any hint ? thanks a lot JM === stdout D:\Perl\ModuleSetup\mod_perl\modperl-2.0nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. cd src/modules/perl nmake Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. 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/ModuleSetup/mod_perl/modperl-2.0/t -f D:/Perl/ModuleSetup/mod_perl/modperl-2 .0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS using Apache/2.0.35 (winnt MPM) waiting for server to start: 00:00[Thu May 02 22:12:24 2002] [info] 12 Apache:: modules loaded [Thu May 02 22:12:24 2002] [info] 5 APR:: modules loaded [Thu May 02 22:12:24 2002] [info] base server + 6 vhosts ready to run tests [Thu May 02 22:12:24 2002] [info] 11 Apache:: modules loaded [Thu May 02 22:12:24 2002] [info] 5 APR:: modules loaded [Thu May 02 22:12:24 2002] [info] base server + 6 vhosts ready to run tests waiting for server to start: 00:01END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 END in modperl_extra.pl, pid=2284 waiting for server to start: ok (waited 2 secs) server fox:8529 started server fox:8530 listening (TestDirective::perlmodule) server fox:8531 listening (TestDirective::perlrequire) server fox:8532 listening (TestProtocol::echo) server fox:8533 listening (TestProtocol::echo_filter) server fox:8534 listening (TestProtocol::eliza) server fox:8535 listening (TestFilter::input_msg) apache\cgihandlerok apache\compatok apache\compat2...ok apache\conftree..FAILED before any test output arrived apache\constants.ok apache\post..dubious Test returned status 58 (wstat 14848, 0x3a00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay apache\read..*** : halting tests NMAKE : fatal error U1058: terminated by user Stop. Error.gif Description: GIF image
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 0x0018 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.0nmake 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\cgihandlerok apache\compatok 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.
HELP - Trying to get mod_perl and Apache2 working together on Win32....
Hi there,I am runing Win2000 SP2, and Apache 2.0.35I have managed to build mod_perl (perl Makefile.PL and then nmake) but thetest part fails: Apache crashes (Memory at 0x0018 cannot be read). BugMaybe ?Ok, I believe that configuration has been tryed before, so I must be missinga point somewhere.Oh, BTW, I have tried the nmake install anyway, but that does not go verywell either as Apache fails to start if I include the PerlModule handler inthe httpd.conf.Any hints ?Thanks a lotJM= STDOUT D:\Perl\PerlModules\modperl-2.0nmake testMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cd "src/modules/perl" NMAKEMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0Copyright (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 apxsD:\PROGRA~1\APACHE~1\Apache2/bin/Apache.exe -dD:/Perl/PerlModules/modperl-2.0/t -fD:/Perl/PerlModules/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADSusing Apache/2.0.35 (winnt MPM)waiting for server to start: 00:00[Fri May 03 08:39:05 2002] [info] 12Apache:: 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 testswaiting for server to start: 00:01END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084END in modperl_extra.pl, pid=5084waiting for server to start: ok (waited 1 secs)server zola.dev.net:8529 startedserver 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\cgihandlerokapache\compatokapache\compat2...okapache\conftree..FAILED before any test output arrivedapache\constants.okapache\post..*** :halting testsNMAKE : fatal error U1058: terminated by userStop.
Re: HELP - Trying to get mod_perl and Apache2 working together on Win32....
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 [EMAIL PROTECTED] To: Jean-Marc Paulin [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] 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 0x0018 cannot be read). Bug Maybe ? It seems so ... However, as you note below, it hang on apache\post: apache\cgihandlerok apache\compatok 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