httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Brewer <c...@bl.echidna.id.au>
Subject Re: perl make errors
Date Fri, 18 Jul 2003 07:56:13 GMT


Joe Schaefer wrote:

> Carl Brewer <carl@bl.echidna.id.au> writes:
> 
> [...]
> 
> 
>>The C stuff compiles just fine but tests badly :
> 
> 
> It looks to me like the problem is with mod_apreq.
> (It may not be loading into the server.)
> 
> Do you have an "old" installed mod_apreq lying around?

I did have, but have now pulled that from the httpd.conf file,
still seeing the same errors.

> What does your env/t/conf/httpd.conf look like (in particular,
> the LoadModule & IfModule Sections)?  Have you tried 
> compiling & testing cvs as a non-root user?

This time I did it all as me (normal user acct).


steel1: {254} cat env/t/conf/httpd.conf
# WARNING: this file is generated, do not edit
# 01: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestConfig.pm:737
# 02: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestConfig.pm:754
# 03: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestConfig.pm:1260
# 04: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestRun.pm:408
# 05: t/TEST:38
# 06: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestRun.pm:586
# 07: 
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd/Apache/TestRun.pm:586
# 08: t/TEST:30

LoadModule php4_module "/usr/local/apache2/modules/libphp4.so"
LoadModule perl_module "/usr/local/apache2/modules/mod_perl.so"
#LoadModule apreq_module "/usr/local/apache2/modules/mod_apreq.so"
<IfModule !mod_apreq.c>
     LoadModule apreq_module 
"/data/src/httpd-apreq-2/env/.libs/mod_apreq.so"
</IfModule>

LoadModule apreq_access_test_module 
/data/src/httpd-apreq-2/env/c-modules/apreq_access_test/.libs/mod_apreq_access_test.so
LoadModule apreq_request_test_module 
/data/src/httpd-apreq-2/env/c-modules/apreq_request_test/.libs/mod_apreq_request_test.so

User    carl
Group    users
ServerName localhost:8529
Listen     8529

ServerRoot   "/data/src/httpd-apreq-2/env/t"
DocumentRoot "/data/src/httpd-apreq-2/env/t/htdocs"

PidFile     /data/src/httpd-apreq-2/env/t/logs/httpd.pid
ErrorLog    /data/src/httpd-apreq-2/env/t/logs/error_log
LogLevel    debug

<IfModule mod_log_config.c>
     TransferLog /data/src/httpd-apreq-2/env/t/logs/access_log
</IfModule>

ServerAdmin carl@bl.echidna.id.au

#needed for http/1.1 testing
KeepAlive       On

HostnameLookups Off

<Directory />
     Options FollowSymLinks
     AllowOverride None
</Directory>

<IfModule worker.c>
     StartServers         1
     MaxClients           1
     MinSpareThreads      1
     MaxSpareThreads      1
     ThreadsPerChild      1
     MaxRequestsPerChild  0
</IfModule>

<IfModule perchild.c>
     NumServers           1
     StartThreads         1
     MinSpareThreads      1
     MaxSpareThreads      1
     MaxThreadsPerChild   1
     MaxRequestsPerChild  0
</IfModule>

<IfModule prefork.c>
     StartServers         1
     MaxClients           1
     MaxRequestsPerChild  0
</IfModule>

<IfModule mpm_winnt.c>
     ThreadsPerChild      20
     MaxRequestsPerChild  0
</IfModule>

<Location /server-info>
     SetHandler server-info
</Location>

<Location /server-status>
     SetHandler server-status
</Location>

Alias /getfiles-binary-perl /usr/local/perl-5.8.0/bin/perl
Alias /getfiles-perl-pod /usr/local/perl-5.8.0/lib/5.8.0/pod
Alias /getfiles-binary-httpd /usr/local/apache2/bin/httpd

TypesConfig "/usr/local/apache2/conf/mime.types"
<Location /apreq_access_test>
     TestAccess test
     SetHandler apreq_request_test
</Location>
<Location /apreq_request_test>
     SetHandler apreq_request_test
</Location>



I just ran this as me rather than root, with a CVS pull from
10 minutes ago.  I tried a make test on the C stuff (not bothering
with perl until this works)

To make it I did this :

make clean
./buildconf
./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs
make
make test



Here's the error_log :

cat env/t/logs/error_log
[Fri Jul 18 17:49:30 2003] [info] Init: Initializing OpenSSL library
[Fri Jul 18 17:49:30 2003] [info] Init: Seeding PRNG with 0 bytes of entropy
[Fri Jul 18 17:49:30 2003] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Fri Jul 18 17:49:31 2003] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Fri Jul 18 17:49:31 2003] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Fri Jul 18 17:49:31 2003] [info] Init: Initializing (virtual) servers 
for SSL
[Fri Jul 18 17:49:31 2003] [info] Server: Apache/2.0.47, Interface: 
mod_ssl/2.0.47, Library: OpenSSL/0.9.7b
[Fri Jul 18 17:49:31 2003] [info] Init: Initializing OpenSSL library
[Fri Jul 18 17:49:31 2003] [info] Init: Seeding PRNG with 0 bytes of entropy
[Fri Jul 18 17:49:31 2003] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Fri Jul 18 17:49:31 2003] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Fri Jul 18 17:49:31 2003] [info] Init: Initializing (virtual) servers 
for SSL
[Fri Jul 18 17:49:31 2003] [info] Server: Apache/2.0.47, Interface: 
mod_ssl/2.0.47, Library: OpenSSL/0.9.7b
[Fri Jul 18 17:49:31 2003] [notice] Apache/2.0.47 (Unix) 
mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_ssl/2.0.47 OpenSSL/0.9.7b 
configured -- resuming normal operations
[Fri Jul 18 17:49:31 2003] [info] Server built: Jul 10 2003 10:10:41
[Fri Jul 18 17:49:31 2003] [debug] prefork.c(1037): AcceptMutex: sysvsem 
(default: sysvsem)
[Fri Jul 18 17:49:32 2003] [error] server reached MaxClients setting, 
consider raising the MaxClients setting
[Fri Jul 18 17:49:33 2003] [info] removed PID file 
/data/src/httpd-apreq-2/env/t/logs/httpd.pid (pid=17887)
[Fri Jul 18 17:49:33 2003] [notice] caught SIGTERM, shutting down


And here's the make test result :

steel1: {258} make test
Making check in src
Making check in env
Making check in t
make  testall
`testall' is up to date.
t/testall -v
All APREQ Tests:
     Cookie:                   ....
     Param:                    ..
     Parsers:                  ..

8 tests run:  8 passed, 0 failed, 0 not implemented.

cd env; make test
perl t/TEST
/usr/local/apache2/bin/httpd  -d /data/src/httpd-apreq-2/env/t -f 
/data/src/httpd-apreq-2/env/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.47 (prefork MPM)

waiting for server to start: ..
waiting for server to start: ok (waited 1 secs)
server localhost:8529 started
request....NOK 1# Failed test 1 in request.t at line 12
request....NOK 2# Failed test 2 in request.t at line 15
request....NOK 3# Failed test 3 in request.t at line 12 fail #2
request....NOK 4# Failed test 4 in request.t at line 15 fail #2
request....NOK 5# Failed test 5 in request.t at line 20
request....NOK 6# Failed test 6 in request.t at line 25
request....FAILED tests 1-6
         Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
request.t                  6    6 100.00%  1-6
*** server localhost:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
*** Error code 1

Stop.
make: stopped in /data/src/httpd-apreq-2/env
*** Error code 1

Stop.
make: stopped in /data/src/httpd-apreq-2









Any suggestions?
> 



Mime
View raw message