On Sat, 7 Jul 2001, Stas Bekman wrote:

> On Fri, 6 Jul 2001, Doug MacEachern wrote:
 
> all tests pass cleanly.

cool.
 
> ====================================
> 
> under bleed-perl (one week old compilation) (the rest is the same) there
> are some problems: (perl build args are at the end of this post)
> 
> $ ./t/TEST -v modules/cgi
> fails to start the server, whereas

1.xx never did start the server like that, its a 2.0 only feature.

> $ make start_httpd
> cp t/conf/mod_perl_srm.conf t/conf/srm.conf
> ../apache_1.3.20/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
> httpd listening on port 8529
> will write error_log to: t/logs/error_log
> letting apache warm up...\c
> done
> 
> (it reports 'done' even if it's failed to start the server, because there
> was another server running already on the same port. try to run 'make
> start_httpd' twice in a row and you will see)
> 
> $ more t/logs/error_log
> [Sat Jul  7 20:55:01 2001] [crit] (98)Address already in use: make_sock:
> could not bind to port 8529

same problem if you 'make test' and there's already a server
running.  has always been this way.  2.0 however, first tests that the
port is available before attempting to start the server.
 
> reason:
> [Sat Jul  7 20:57:02 2001] [error] (13)Permission denied: exec of
> /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
> [Sat Jul  7 20:57:02 2001] [error] [client 127.0.0.1] Premature end of
> script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

this only happens when running this test standalone or also during full
'make test' ?  is it setup to use the correct perl?
% head -1 t/net/perl/cgi.pl

> build warnings:
...
> mod_perl.c:333: warning: unused variable `my_perl'

these have also been here as long as ithreads, left as a reminder, 1.xx
should be optimized for ithreads.


Reply via email to