You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Goehring, Chuck Mr., RCI - San Diego" <cg...@resourceconsultants.com> on 2003/03/11 19:36:14 UTC

mp2 building dependant libwin32-0.191 fails tests

Dear mod_perlers,


I'm building mod_perl-1.99_08 for apache2.  Currently have the following built:

httpd-2.0.44
openssl-0.9.7a.tar.gz
perl-5.8.0.tar.gz
zlib-1.1.4.tar.gz

In order to run the tests for mod_perl, I had to install 
libwin32-0.191.tar.gz (to get Process.pm and ???).  This lib bombed 
its test with the following:

ok 244
ok 245
        E:\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '.
\blib\lib', '..\blib\arch')" t\test.t
t\test....ok 4/18not ok 5
Can't add a user so there really isn't any point in continuing...
t\test....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-18
        Failed 14/18 tests, 22.22% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t\test.t     255 65280    18   14  77.78%  5-18
Failed 1/1 test scripts, 0.00% okay. 14/18 subtests failed, 22.22% okay.
NMAKE : fatal error U1077: 'E:\perl\bin\perl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


I have a directory E:\src_apache2\mod_perl-1.99_08\t\ that contains a perl 
script called test.  There is no t.t or test.t in the whole heirarchy.

Just in case the test was bad, I went ahead and build mod_perl anyway.  It had a lot of errors also:


Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
apache\cgihandler.t                        2    2 100.00%  1-2
apache\post.t                              2    1  50.00%  2
apache\scanhdrs.t              9  2304     4    4 100.00%  1-4
apache\scanhdrs2.t                         5    4  80.00%  1-2 4-5
api\sendfile.t                             3    2  66.67%  2-3
compat\request_body.t                      5    5 100.00%  1-5
compat\send_fd.t                           3    2  66.67%  2-3
directive\perl.t                           4    2  50.00%  2-3
directive\perlloadmodule2.t                3    3 100.00%  1-3
directive\perlloadmodule3.t                3    3 100.00%  1-3
directive\perlmodule.t                     1    1 100.00%  1
directive\perlrequire.t                    2    2 100.00%  1-2
directive\setupenv.t                       3    1  33.33%  2
filter\input_body.t                        2    2 100.00%  1-2
filter\lc.t                                1    1 100.00%  1
filter\reverse.t                           2    2 100.00%  1-2
hooks\access.t                             4    2  50.00%  2-3
hooks\trans.t                              3    3 100.00%  1-3
modperl\getc.t                             2    1  50.00%  2
modperl\readline.t                         2    1  50.00%  2
modperl\sameinterp.t           9  2304    12   12 100.00%  1-12
modules\include.t                          6    5  83.33%  1 3-6
modules\include2.t                         4    3  75.00%  1 3-4
61 tests skipped.
!!! error running tests (please examine t\logs\error_log)
NMAKE : fatal error U1077: 'E:\perl\bin\perl.exe' : return code '0x1'
Stop.


What do I do next.

Thanks
Chuck


Re: mp2 building dependant libwin32-0.191 fails tests

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 11 Mar 2003, Goehring, Chuck Mr., RCI - San Diego wrote:

> Dear mod_perlers, I'm building mod_perl-1.99_08 for apache2.  
> Currently have the following built:
> 
> httpd-2.0.44
> openssl-0.9.7a.tar.gz
> perl-5.8.0.tar.gz
> zlib-1.1.4.tar.gz
> 
> In order to run the tests for mod_perl, I had to install 
> libwin32-0.191.tar.gz (to get Process.pm and ???).  This lib bombed 
> its test with the following:
[ .. ]
The libwin32 package may not pass all the tests, depending
on your Win32 flavour. You should go ahead and install it
anyway, as it's needed for the mod_perl tests.
 
> I have a directory E:\src_apache2\mod_perl-1.99_08\t\ that
> contains a perl script called test.  There is no t.t or test.t
> in the whole heirarchy.

The mod_perl tests do differ in that respect from tests in
other packages, but that's by construction.
 
> Just in case the test was bad, I went ahead and build mod_perl
> anyway.  It had a lot of errors also:
> 
> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
> apache\cgihandler.t                        2    2 100.00%  1-2
[ .. ]

Did you install libwin32 before running the mod_perl tests?
Also, have you installed the libwww-perl package and friends?

-- 
best regards,
randy kobes