Re: Apache::Util::parsedate make test error
Em Tue, Nov 12, 2002 at 12:13:32AM +0800, Stas Bekman escreveu: > ># Failed test 13 in > >>/home/andreas/svn/mod_perl/BUILD/mod_perl-1.99_05/t/response/TestCompat/apache_util.pm > at line 74 > ># expected: 1 > ># received: 1 > ># expected: 0 > ># received: 0 > > Do you still have this problem with the latest apache/mod_perl? No, it works now: apache-2.0.43 mod_perl-1.99_07 perl-5.6.1 (...) # testing : Apache::Util::parsedate # expected: 1037032588 # received: '1037032588' ok 13 # expected: 1 # received: 1 # expected: 0 # received: 0 ok All tests successful. (...) Thanks for reminding me about this one, I was skipping make test since then :)
Re: mod_perl, Apache2
Em Sun, Oct 06, 2002 at 07:24:17PM +0200, Benny Jensen escreveu: >../../../blib/arch/Apache2/auto/APR/APR.so -L/usr/local/apache/lib >-lapr -laprutil >/usr/bin/ld: cannot find -lapr >collect2: ld returned 1 exit status You need to install libapr, which is part of apache2.
Re: installation bug with Apache v2.0.42
Em Wed, Sep 25, 2002 at 10:40:53AM -0700, Eugene Eric Kim escreveu: > format of the macros in include/ap_release.h between 2.0.40 and 2.0.42. > AP_SERVER_BASEREVISION is now: > > #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL > > instead of simply: > > #define AP_SERVER_BASEREVISION "2.0.42" > > This breaks the httpd_version method in Apache/Build.pm. Try this patch, is what I'm using here: --- mod_perl-1.99_05/lib/Apache/Build.pm.orig 2002-09-19 18:44:56.0 -0300 +++ mod_perl-1.99_05/lib/Apache/Build.pm2002-09-19 18:46:32.0 -0300 @@ -740,14 +740,17 @@ return undef; }; -my $version; +my ($version,$maj,$min,$pat); while(<$fh>) { -next unless /^\#define\s+AP_SERVER_BASEREVISION\s+\"(.*)\"/; -$version = $1; -last; +$maj = $1 if /^#define\s+AP_SERVER_MAJORVERSION\s+\"(.*)\"/; +$min = $1 if /^#define\s+AP_SERVER_MINORVERSION\s+\"(.*)\"/; +$pat = $1 if /^#define\s+AP_SERVER_PATCHLEVEL\s+\"(.*)\"/; +$maj && $min && $pat && last; } +$version = "$maj.$min.$pat"; + close $fh; $self->httpd_version_cache($dir, $version);
Apache::Util::parsedate make test error
apache-2.0.41-dev (prefork) mod_perl-1.99_05 perl-5.6.1 I'm getting the following error in Apache::Util::parsedate from the compat/apache_util.t test suite: (...) # testing : Apache::Util::ht_time # expected: 'Seg, 23 Set 2002 20:37:30 GMT' # received: 'Seg, 23 Set 2002 20:37:30 GMT' ok 12 # testing : Apache::Util::parsedate # expected: 1032813450 # received: '0' not ok 13 # Failed test 13 in /home/andreas/svn/mod_perl/BUILD/mod_perl-1.99_05/t/response/TestCompat/apache_util.pm at line 74 # expected: 1 # received: 1 # expected: 0 # received: 0 FAILED test 13 Failed 1/13 tests, 92.31% okay Failed Test Status Wstat Total Fail Failed List of Failed compat/apache_util.t 131 7.69% 13 *** server localhost.localdomain:8529 shutdown !!! error running tests (please examine t/logs/error_log) Is this a known problem with these versions of mod_perl and apache? Or is there something wrong with the packages I'm using? error_log shows only one "[error]" entry: [Mon Sep 23 17:37:26 2002] [info] Server: Apache/2.0.41-dev, Interface: mod_ssl/2.0.41-dev, Library: OpenSSL/0.9.6g [Mon Sep 23 17:37:26 2002] [notice] Apache/2.0.41-dev (Unix) mod_perl/1.99_05-dev Perl/v5.6.1 mod_ssl/2.0.41-dev OpenSSL/0.9.6g DA V/2 configured -- resuming normal operations [Mon Sep 23 17:37:26 2002] [info] Server built: Sep 20 2002 01:16:06 [Mon Sep 23 17:37:26 2002] [debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem) [Mon Sep 23 17:37:27 2002] [error] server reached MaxClients setting, consider raising the MaxClients setting