You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Octavian Rasnita <or...@fcc.ro> on 2005/05/15 17:31:58 UTC

mod_perl 2.0 under Windows 2000

Hi,

I have tried to compile mod_perl 2.0.0-DEV under Windows 2000, using Visual
Studio 6.

I have done:

> perl Makefile.pl
> nmake
> nmake test

The result was:

Failed Test     Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t\api\access2.t                6    3  50.00%  2 5-6
8 tests and 24 subtests skipped.
Failed 1/229 test scripts, 99.56% okay. 3/2273 subtests failed, 99.87% okay.
[warning] server ted:8529 shutdown
[  error] error running tests (please examine t\logs\error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
NMAKE : fatal error U1077: 'E:\usr\bin\perl.exe' : return code '0x1'
Stop.
E:\mod_perl-2.0.0-dev\mod_perl-2.0.0-dev>


If I will "make install" it after these errors, will mod_perl work
correctly, or can I do something to make them disappear?

I have examined that error log, and here is the last part (starting from the
first error):

[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
server configuration:
E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
[Sun May 15 17:54:42 2005] [info] [client 81.180.162.194] TestAPI::aplog
test in progress
This log message comes with no header
[Sun May 15 17:54:42 2005] [debug] aplog.pm(71): log_serror test 1
[Sun May 15 17:54:42 2005] [debug] aplog.pm(83): (20014)Error string not
specified yet: log_serror test 2
[Sun May 15 17:54:42 2005] [crit] [client 81.180.162.194] (20007)No time was
provided and one was required.: log_rerror test
[Sun May 15 17:54:42 2005] [error] $r->log_error test
[Sun May 15 17:54:42 2005] [error] $s->log_error test
[Sun May 15 17:54:42 2005] [error] access to /TestAPI__aplog failed for
81.180.162.194, reason: $r->log_reason test
[Sun May 15 17:54:43 2005] [error] access to filename failed for
81.180.162.194, reason: $r->log_reason filename test
[Sun May 15 17:54:43 2005] [warn] $s->warn test
[Sun May 15 17:54:43 2005] [warn] Apache2::ServerRec::warn test
[Sun May 15 17:54:43 2005] [warn] Apache2::ServerRec::warn test
[Sun May 15 17:54:43 2005] [warn] warn test
[Sun May 15 17:58:00 2005] [error] Apache::log_error test ok
[Sun May 15 17:58:00 2005] [warn] Apache->warn ok
[Sun May 15 17:58:00 2005] [warn] Apache::warn ok
[Sun May 15 17:58:00 2005] [warn] Apache::Server->warn ok
[Sun May 15 17:58:00 2005] [warn] Apache::Server::warn ok
[Sun May 15 17:59:20 2005] [error] [client 81.180.162.194]
APR::Socket::recv: (730035) A non-blocking socket operation could not be
completed immediately.   at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 156
[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] Undefined
subroutine &TestError::runtime::no_such_func called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 150.\n
[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194]
APR::Socket::recv: (730035) A non-blocking socket operation could not be
completed immediately.   at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 156\n\tTestError::runtime::mp_error('APR::Socket=SCALAR(0x3f5aae0)')
called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line
75\n\tTestError::runtime::die_hook_confess_mp_error('Apache2::RequestRec=SCA
LAR(0x3d76ed0)', 'APR::Socket=SCALAR(0x3f5aae0)') called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line
31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x3d76ed0)')
called at -e line 0\n\teval {...} called at -e line 0\n
[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] Undefined
subroutine &TestError::runtime::no_such_func called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 150.\n at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line
150\n\tTestError::runtime::non_mp_error('APR::Socket=SCALAR(0x3f5aad4)')
called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line
82\n\tTestError::runtime::die_hook_confess_non_mp_error('Apache2::RequestRec
=SCALAR(0x3d76ed0)', 'APR::Socket=SCALAR(0x3f5aad4)') called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line
31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x3d76ed0)')
called at -e line 0\n\teval {...} called at -e line 0\n
[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] custom die hook:
APR::Socket::recv: (730035) A non-blocking socket operation could not be
completed immediately.   at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 156 at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 87.\n
[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] custom die hook:
Undefined subroutine &TestError::runtime::no_such_func called at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
line 150.\n

*** The following error entry is expected and harmless ***
[Sun May 15 17:59:24 2005] [error] [client 81.180.162.194] failed to resolve
handler `TestError::syntax': syntax error at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/syntax.pm
line 17, near "\\;"\nCompilation failed in require at (eval 226) line 3.\n
[Sun May 15 18:00:01 2005] [error] [client 81.180.162.194] This filter must
die at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\filter/TestFilter/in_error.pm
line 26.\n
[Sun May 15 18:00:01 2005] [error] [client 81.180.162.194]
Apache2::RequestIO::read: (120001) filter handler has failed at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\filter/TestFilter/in_error.pm
line 41

*** The following error entry is expected and harmless ***
[Sun May 15 18:02:27 2005] [error] [client 81.180.162.194] File does not
exist: E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/nope
[Sun May 15 18:03:56 2005] [error] [client 81.180.162.194] need AuthName:
/TestModperl__setauth
[Sun May 15 18:04:05 2005] [error] [client 81.180.162.194] File does not
exist: E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestModperl__status
[Sun May 15 18:04:05 2005] [error] [client 81.180.162.194] Died at
E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestModperl/status.p
m line 24.\n

*** The following error entry is expected and harmless ***
[Sun May 15 18:05:32 2005] [error] [client 81.180.162.194] user stas:
authentication failure for "/": Password Mismatch

Thanks.

Teddy



Re: mod_perl 2.0 under Windows 2000

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Mon, 16 May 2005, Foo Ji-Haw wrote:

> Octavian Rasnita wrote:
>
> >Hi,
> >
> >I have tried to compile mod_perl 2.0.0-DEV under Windows
> >2000, using Visual Studio 6. I have done:
> >
> >>perl Makefile.pl
> >>nmake
> >>nmake test
> >
> >The result was:
> >
> >Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> >----------------------------------------------------------------------------
> >---
> >t\api\access2.t                6    3  50.00%  2 5-6
> >8 tests and 24 subtests skipped.
> >
> Why don't you simply install precompiled mp2 via PPM? It's
> a lot faster and requires less of you.

That's very true about ppm being faster, and requiring less
effort. Also, for those without a C compiler, it may be the
only way to use such packages. However, if one does have a C
compiler (compatible with the one used to compile Perl and
Apache), as a matter of principle, it's probably better to
compile things yourself, just so as to be sure of binary
compatibility.

Also, though, from a mod_perl development perspective,
there's only a handful of people who regularly build and
test mod_perl on Windows. The more there are, the easier and
faster it will be to pick up and resolve bugs. For example,
I didn't get the above failure, but Teddy did - it's
certainly worth tracking down the difference.

-- 
best regards,
randy

Re: mod_perl 2.0 under Windows 2000

Posted by Foo Ji-Haw <jh...@nexlabs.com>.
Why don't you simply install precompiled mp2 via PPM? It's a lot faster 
and requires less of you.

Octavian Rasnita wrote:

>Hi,
>
>I have tried to compile mod_perl 2.0.0-DEV under Windows 2000, using Visual
>Studio 6.
>
>I have done:
>
>  
>
>>perl Makefile.pl
>>nmake
>>nmake test
>>    
>>
>
>The result was:
>
>Failed Test     Stat Wstat Total Fail  Failed  List of Failed
>----------------------------------------------------------------------------
>---
>t\api\access2.t                6    3  50.00%  2 5-6
>8 tests and 24 subtests skipped.
>Failed 1/229 test scripts, 99.56% okay. 3/2273 subtests failed, 99.87% okay.
>[warning] server ted:8529 shutdown
>[  error] error running tests (please examine t\logs\error_log)
>+--------------------------------------------------------+
>| Please file a bug report: http://perl.apache.org/bugs/ |
>+--------------------------------------------------------+
>NMAKE : fatal error U1077: 'E:\usr\bin\perl.exe' : return code '0x1'
>Stop.
>E:\mod_perl-2.0.0-dev\mod_perl-2.0.0-dev>
>
>
>If I will "make install" it after these errors, will mod_perl work
>correctly, or can I do something to make them disappear?
>
>I have examined that error log, and here is the last part (starting from the
>first error):
>
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:39 2005] [error] [client 81.180.162.194] client denied by
>server configuration:
>E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestAPI__access2
>[Sun May 15 17:54:42 2005] [info] [client 81.180.162.194] TestAPI::aplog
>test in progress
>This log message comes with no header
>[Sun May 15 17:54:42 2005] [debug] aplog.pm(71): log_serror test 1
>[Sun May 15 17:54:42 2005] [debug] aplog.pm(83): (20014)Error string not
>specified yet: log_serror test 2
>[Sun May 15 17:54:42 2005] [crit] [client 81.180.162.194] (20007)No time was
>provided and one was required.: log_rerror test
>[Sun May 15 17:54:42 2005] [error] $r->log_error test
>[Sun May 15 17:54:42 2005] [error] $s->log_error test
>[Sun May 15 17:54:42 2005] [error] access to /TestAPI__aplog failed for
>81.180.162.194, reason: $r->log_reason test
>[Sun May 15 17:54:43 2005] [error] access to filename failed for
>81.180.162.194, reason: $r->log_reason filename test
>[Sun May 15 17:54:43 2005] [warn] $s->warn test
>[Sun May 15 17:54:43 2005] [warn] Apache2::ServerRec::warn test
>[Sun May 15 17:54:43 2005] [warn] Apache2::ServerRec::warn test
>[Sun May 15 17:54:43 2005] [warn] warn test
>[Sun May 15 17:58:00 2005] [error] Apache::log_error test ok
>[Sun May 15 17:58:00 2005] [warn] Apache->warn ok
>[Sun May 15 17:58:00 2005] [warn] Apache::warn ok
>[Sun May 15 17:58:00 2005] [warn] Apache::Server->warn ok
>[Sun May 15 17:58:00 2005] [warn] Apache::Server::warn ok
>[Sun May 15 17:59:20 2005] [error] [client 81.180.162.194]
>APR::Socket::recv: (730035) A non-blocking socket operation could not be
>completed immediately.   at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 156
>[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] Undefined
>subroutine &TestError::runtime::no_such_func called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 150.\n
>[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194]
>APR::Socket::recv: (730035) A non-blocking socket operation could not be
>completed immediately.   at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 156\n\tTestError::runtime::mp_error('APR::Socket=SCALAR(0x3f5aae0)')
>called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line
>75\n\tTestError::runtime::die_hook_confess_mp_error('Apache2::RequestRec=SCA
>LAR(0x3d76ed0)', 'APR::Socket=SCALAR(0x3f5aae0)') called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line
>31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x3d76ed0)')
>called at -e line 0\n\teval {...} called at -e line 0\n
>[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] Undefined
>subroutine &TestError::runtime::no_such_func called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 150.\n at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line
>150\n\tTestError::runtime::non_mp_error('APR::Socket=SCALAR(0x3f5aad4)')
>called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line
>82\n\tTestError::runtime::die_hook_confess_non_mp_error('Apache2::RequestRec
>=SCALAR(0x3d76ed0)', 'APR::Socket=SCALAR(0x3f5aad4)') called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line
>31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x3d76ed0)')
>called at -e line 0\n\teval {...} called at -e line 0\n
>[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] custom die hook:
>APR::Socket::recv: (730035) A non-blocking socket operation could not be
>completed immediately.   at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 156 at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 87.\n
>[Sun May 15 17:59:21 2005] [error] [client 81.180.162.194] custom die hook:
>Undefined subroutine &TestError::runtime::no_such_func called at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/runtime.pm
>line 150.\n
>
>*** The following error entry is expected and harmless ***
>[Sun May 15 17:59:24 2005] [error] [client 81.180.162.194] failed to resolve
>handler `TestError::syntax': syntax error at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestError/syntax.pm
>line 17, near "\\;"\nCompilation failed in require at (eval 226) line 3.\n
>[Sun May 15 18:00:01 2005] [error] [client 81.180.162.194] This filter must
>die at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\filter/TestFilter/in_error.pm
>line 26.\n
>[Sun May 15 18:00:01 2005] [error] [client 81.180.162.194]
>Apache2::RequestIO::read: (120001) filter handler has failed at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\filter/TestFilter/in_error.pm
>line 41
>
>*** The following error entry is expected and harmless ***
>[Sun May 15 18:02:27 2005] [error] [client 81.180.162.194] File does not
>exist: E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/nope
>[Sun May 15 18:03:56 2005] [error] [client 81.180.162.194] need AuthName:
>/TestModperl__setauth
>[Sun May 15 18:04:05 2005] [error] [client 81.180.162.194] File does not
>exist: E:/mod_perl-2.0.0-dev/mod_perl-2.0.0-dev/t/htdocs/TestModperl__status
>[Sun May 15 18:04:05 2005] [error] [client 81.180.162.194] Died at
>E:\\mod_perl-2.0.0-dev\\mod_perl-2.0.0-dev\\t\\response/TestModperl/status.p
>m line 24.\n
>
>*** The following error entry is expected and harmless ***
>[Sun May 15 18:05:32 2005] [error] [client 81.180.162.194] user stas:
>authentication failure for "/": Password Mismatch
>
>Thanks.
>
>Teddy
>
>
>  
>

Re: mod_perl 2.0 under Windows 2000

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sun, 15 May 2005, Octavian Rasnita wrote:

> I have tried to compile mod_perl 2.0.0-DEV under Windows
> 2000, using Visual Studio 6.
>
> I have done:
>
> > perl Makefile.pl
> > nmake
> > nmake test
>
> The result was:
>
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------
> t\api\access2.t                6    3  50.00%  2 5-6

Could you post the results of
   perl t/TEST -clean
   perl t/TEST -verbose t\api\access2.t
Thanks.

-- 
best regards,
randy