Apache::SizeLimit does not recognize OS X (darwin) and dies at compilation phase.
waiting 120 seconds for server to start: .[Sat Dec 11 10:56:10 2004] [info] 7 Apache:: modules loaded
[Sat Dec 11 10:56:10 2004] [info] 0 APR:: modules loaded
[Sat Dec 11 10:56:10 2004] [info] base server + 29 vhosts ready to run tests
.............................................................................
waiting 120 seconds for server to start: not ok
[ error] giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 420) and repeat the last command.
t/logs/error_log:
[Sat Dec 11 10:56:13 2004] [error] Apache::SizeLimit not implemented on your platform. at /Users/chansen/src/mod_perl-2.0/blib/lib/Apache/SizeLimit.pm line 78.\nBEGIN failed--compilation aborted at /Users/chansen/src/mod_perl-2.0/blib/lib/Apache/SizeLimit.pm line 81.\nCompilation failed in require at /Users/chansen/src/mod_perl-2.0/t/conf/post_config_startup.pl line 68.\nCompilation failed in require at /Users/chansen/src/mod_perl-2.0/t/conf/modperl_extra.pl line 81.\n
Index: lib/Apache/SizeLimit.pm =================================================================== --- lib/Apache/SizeLimit.pm (revision 111596) +++ lib/Apache/SizeLimit.pm (working copy) @@ -54,7 +54,7 @@
$HOW_BIG_IS_IT = \&linux_size_check;
- } elsif ( $Config{'osname'} =~ /(bsd|aix)/i ) {
+ } elsif ( $Config{'osname'} =~ /(bsd|aix|darwin)/i ) { # will getrusage work on all BSDs? I should hope so.
if ( eval { require BSD::Resource } ) {Regards Christian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
