httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <>
Subject [apreq-2] Win32 cannot find Apache::Build
Date Thu, 02 Dec 2004 05:12:48 GMT
With the current svn sources, on Win32, when I try to run
the env/t/ tests, it fails in that it can't find
Apache::Build. I built mp2 with MP_INST_APACHE2=1, which
means Apache::Build is under an Apache2/, and consequently needs to be invoked. This may be a problem with
Apache::Test, though, in that I don't find this problem on
linux (also built with MP_INST_APACHE2=1), and also, I don't
have this problem with the perl_glue tests.  Until I can
track this problem down, would the following:
Index: env/t/TEST.PL
--- env/t/TEST.PL	(revision 109447)
+++ env/t/TEST.PL	(working copy)
@@ -1,6 +1,8 @@
 use strict;
 use warnings FATAL => 'all';

+BEGIN { eval{require Apache2;} }
 use constant WIN32 => $^O eq 'MSWin32';
 require Win32 if WIN32;

be acceptable? Thanks.

By the way, with this patch, all tests pass (perl-5.8.4,
Apache/2.0.52) on Win32.

best regards,

View raw message