You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2001/10/28 01:48:46 UTC

modperl-2.0 tests on Win32

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: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: modperl-2.0 tests on Win32

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 27 Oct 2001, Randy Kobes wrote:

> Hi,
>     Building mod_perl-2.0 on Win32 works great now, both on
> Win98 and Win2000.

excellent.  i sorta ran outta steam/time that sunday at 2am, and have been
too busy with higher priorities since.  hopefully will be able to look at
your feedback in the next few days.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org