Hi,
Building mod_perl-2.0 on Win32 works great now, both on
Win98 and Win2000. There's a few issues with the tests ....
- for some reason, @INC isn't being set properly when
running the tests. I had to use
perl -I/path/to/modperl-2.0/blib/lib \
-I/path/to/modperl-2.0/blib/arch t/TEST
and also, in t/response/TestDirective/perlrequire.pm,
I added
BEGIN {
use lib map {"/path/to/modperl-2.0/blib/$_"} qw(lib arch);
}
in order to run the tests with 'nmake test'.
- for Win2000, I added a section to t/conf/httpd.conf,
<IfModule mpm_winnt.c>
ThreadsPerChild 10
MaxRequestsPerChild 0
</IfModule>
- for Win98, I copied libmodperl.so to t/modules.
- the api/log.t test causes an "illegal operation" window
to pop up (although one time it did pass this test, for some
reason ...).
- some tests fail because of a missing "BINMODE" in
Apache::RequestRec - I think this also came up in modperl-1.0,
and required an
ALIAS:
BINMODE=1
I put this in in WrapXS/Apache/RequestRec/RequestRec.xs,
in Apache::RequestRec, and this seemed to work.
Anyway, with these changes the tests run, and most pass
(moreso on Win2000), but there's still a few failures. I'll look
into these some more ....
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]