You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Carl Brewer <ca...@bl.echidna.id.au> on 2004/04/28 08:47:12 UTC

[mp2] compile error in current CVS (NetBSD 1.6.1, perl 5.8.4)

Stas Bekman wrote:


> yes, please submit a verbose run's output only for:
> 
> t/TEST -v t/apr-ext/uuid.t

It's not finding perlloadmodule5.pm, but the file exists :

/data/src/modperl-2.0/t/response/TestDirective/perlloadmodule5.pm

Looks like a syntax error in httpd.conf, the line :

1670: PerlLoadModule TestDirective::perlloadmodule5

Is causing it to barf, somehow.

steel1: {8} t/TEST -v t/apr-ext/uuid.t
/usr/local/apache2/bin/httpd -d /data/src/modperl-2.0/t -f 
/data/src/modperl-2.0/t/conf/httpd.conf -D APACHE2
using Apache/2.0.49 (prefork MPM)

waiting 120 seconds for server to start: ..[Wed Apr 28 16:40:16 2004] 
[info] 27 Apache:: modules loaded
[Wed Apr 28 16:40:16 2004] [info] 5 APR:: modules loaded
[Wed Apr 28 16:40:16 2004] [info] base server + 18 vhosts ready to run tests
.Syntax error on line 1670 of /data/src/modperl-2.0/t/conf/httpd.conf:
Can't locate TestDirective/perlloadmodule5.pm in @INC (@INC contains: 
/data/src/modperl-2.0/Apache-Test/lib /data/src/modperl-2.0/blib/lib 
/data/src/modperl-2.0/blib/arch /data/src/modperl-2.0/t/response 
/data/src/modperl-2.0/t/protocol /data/src/modperl-2.0/t/preconnection 
/data/src/modperl-2.0/t/hooks /data/src/modperl-2.0/t/filter 
/data/src/modperl-2.0/t 
/data/src/modperl-2.0/t/htdocs/testdirective/perlmodule-vh 
/data/src/modperl-2.0/t/htdocs/testdirective/main 
/data/src/modperl-2.0/t/ /data/src/modperl-2.0/t/lib/perl 
/usr/local/perl-5.8.4/lib/5.8.4/i386-netbsd 
/usr/local/perl-5.8.4/lib/5.8.4 
/usr/local/perl-5.8.4/lib/site_perl/5.8.4/i386-netbsd 
/usr/local/perl-5.8.4/lib/site_perl/5.8.4 
/usr/local/perl-5.8.4/lib/site_perl 
/usr/local/perl-5.8.1/lib/site_perl/5.8.4/i386-netbsd 
/usr/local/perl-5.8.1/lib/site_perl/5.8.1/i386-netbsd 
/usr/local/perl-5.8.1/lib/site_perl/5.8.1) at (eval 86) line 3.\n
......................................................................................................................
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.

[  error] server failed to start! (please examine t/logs/error_log)



> 
> and
> 
> t/TEST -v t/protocol/echo_block.t

Same error? :

steel1: {9} t/TEST -v t/protocol/echo_block.t
/usr/local/apache2/bin/httpd -d /data/src/modperl-2.0/t -f 
/data/src/modperl-2.0/t/conf/httpd.conf -D APACHE2
using Apache/2.0.49 (prefork MPM)

waiting 120 seconds for server to start: ...[Wed Apr 28 16:44:17 2004] 
[info] 27 Apache:: modules loaded
[Wed Apr 28 16:44:17 2004] [info] 5 APR:: modules loaded
[Wed Apr 28 16:44:17 2004] [info] base server + 18 vhosts ready to run tests
.Syntax error on line 1670 of /data/src/modperl-2.0/t/conf/httpd.conf:
Can't locate TestDirective/perlloadmodule5.pm in @INC (@INC contains: 
/data/src/modperl-2.0/Apache-Test/lib /data/src/modperl-2.0/blib/lib 
/data/src/modperl-2.0/blib/arch /data/src/modperl-2.0/t/response 
/data/src/modperl-2.0/t/protocol /data/src/modperl-2.0/t/preconnection 
/data/src/modperl-2.0/t/hooks /data/src/modperl-2.0/t/filter 
/data/src/modperl-2.0/t 
/data/src/modperl-2.0/t/htdocs/testdirective/perlmodule-vh 
/data/src/modperl-2.0/t/htdocs/testdirective/main 
/data/src/modperl-2.0/t/ /data/src/modperl-2.0/t/lib/perl 
/usr/local/perl-5.8.4/lib/5.8.4/i386-netbsd 
/usr/local/perl-5.8.4/lib/5.8.4 
/usr/local/perl-5.8.4/lib/site_perl/5.8.4/i386-netbsd 
/usr/local/perl-5.8.4/lib/site_perl/5.8.4 
/usr/local/perl-5.8.4/lib/site_perl 
/usr/local/perl-5.8.1/lib/site_perl/5.8.4/i386-netbsd 
/usr/local/perl-5.8.1/lib/site_perl/5.8.1/i386-netbsd 
/usr/local/perl-5.8.1/lib/site_perl/5.8.1) at (eval 86) line 3.\n
.....................................................................................................................
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.

[  error] server failed to start! (please examine t/logs/error_log)




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] compile error in current CVS (NetBSD 1.6.1, perl 5.8.4)

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
> 
> 
>> Hmm, strange. And if you run any other test it succeeds?
> 
> 
> make test seems ok except for these :
> 
> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------- 
> 
> t/apr-ext/uuid.t             255 65280     3    6 200.00%  1-3
> t/filter/both_str_con_add.t                4    3  75.00%  2-4
> t/protocol/echo_block.t                    3    2  66.67%  2-3
> t/protocol/echo_filter.t                   3    2  66.67%  2-3
> 10 tests skipped.

So if you remove that vhost that loads perlloadmodule5.pm:

# APACHE_TEST_CONFIG_ORDER 950
PerlLoadModule TestDirective::perlloadmodule5
Listen 0.0.0.0:8549
<VirtualHost _default_:8549>
     ServerName localhost.localdomain:8549
     # here mod_perl sets the scfg by itself for this vhost
     PerlModule File::Spec
     MyTest5 "Vhost"
     <Location /TestDirective__perlloadmodule5>
         MyTest5 "Dir"
         SetHandler modperl
         PerlResponseHandler TestDirective::perlloadmodule5
     </Location>
</Virtualhost>
<Location /TestDirective__perlloadmodule5>
     SetHandler modperl
     PerlResponseHandler TestDirective::perlloadmodule5
</Location>

from httpd.conf and try again the two tests that I've asked you to run, do you 
see any change?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] compile error in current CVS (NetBSD 1.6.1, perl 5.8.4)

Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:


> Hmm, strange. And if you run any other test it succeeds?

make test seems ok except for these :

Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apr-ext/uuid.t             255 65280     3    6 200.00%  1-3
t/filter/both_str_con_add.t                4    3  75.00%  2-4
t/protocol/echo_block.t                    3    2  66.67%  2-3
t/protocol/echo_filter.t                   3    2  66.67%  2-3
10 tests skipped.



> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] compile error in current CVS (NetBSD 1.6.1, perl 5.8.4)

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
> 
> 
>> yes, please submit a verbose run's output only for:
>>
>> t/TEST -v t/apr-ext/uuid.t
> 
> 
> It's not finding perlloadmodule5.pm, but the file exists :
> 
> /data/src/modperl-2.0/t/response/TestDirective/perlloadmodule5.pm
> 
> Looks like a syntax error in httpd.conf, the line :
> 
> 1670: PerlLoadModule TestDirective::perlloadmodule5
> 
> Is causing it to barf, somehow.

Hmm, strange. And if you run any other test it succeeds?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org