You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2004/02/13 15:48:25 UTC

more Apache-Test sticky woes

something is still amuck with the sticky preferences stuff.

I ran

$ perl Makefile.PL -apxs /apache/1.3/dso/perl-5.8.3/bin/apxs
$ make && make test

against a CPAN module, then tried to build mod_perl-2.0

$ make realclean
$ perl Makefile.PL MP_APXS=/apache/2.0/worker/perl-5.8.3/bin/apxs
$ make && make test

ulimit -c unlimited; /perl/perl-5.8.3/bin/perl t/TEST -bugreport -verbose=0
/apache/1.3/dso/perl-5.8.3/bin/httpd -d /src/mod_perl-2.0/t -f
/src/mod_perl-2.0/t/conf/httpd.conf -DAPACHE1 -DPERL_USEITHREADS
using Apache/1.3.30-dev

waiting 180 seconds for server to start: .Syntax error on line 14 of
/src/mod_perl-2.0/t/conf/extra.conf:
Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module
not included in the server configuration


the trace starts like this

[  debug] trying to load custom config data
[  debug] loading custom config path
'/home/geoff/.apache-test/Apache/TestConfigData.pm'
[warning] setting ulimit to allow core files
ulimit -c unlimited; /perl/perl-5.8.3/bin/perl t/TEST -clean
[  debug] trying to load custom config data
[  debug] loading custom config path
'/home/geoff/.apache-test/Apache/TestConfigData.pm'
[  debug] isolated httpd_info VERSION = Apache/1.3.30-dev (Unix)


I thought it was supposed to ignore saved settings for core builds?

--Geoff


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


Re: more Apache-Test sticky woes

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
> something is still amuck with the sticky preferences stuff.
> 
> I ran
> 
> $ perl Makefile.PL -apxs /apache/1.3/dso/perl-5.8.3/bin/apxs
> $ make && make test
> 
> against a CPAN module, then tried to build mod_perl-2.0
> 
> $ make realclean
> $ perl Makefile.PL MP_APXS=/apache/2.0/worker/perl-5.8.3/bin/apxs
> $ make && make test
> 
> ulimit -c unlimited; /perl/perl-5.8.3/bin/perl t/TEST -bugreport -verbose=0
> /apache/1.3/dso/perl-5.8.3/bin/httpd -d /src/mod_perl-2.0/t -f
> /src/mod_perl-2.0/t/conf/httpd.conf -DAPACHE1 -DPERL_USEITHREADS
> using Apache/1.3.30-dev
> 
> waiting 180 seconds for server to start: .Syntax error on line 14 of
> /src/mod_perl-2.0/t/conf/extra.conf:
> Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module
> not included in the server configuration
> 
> 
> the trace starts like this
> 
> [  debug] trying to load custom config data
> [  debug] loading custom config path
> '/home/geoff/.apache-test/Apache/TestConfigData.pm'
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /perl/perl-5.8.3/bin/perl t/TEST -clean
> [  debug] trying to load custom config data
> [  debug] loading custom config path
> '/home/geoff/.apache-test/Apache/TestConfigData.pm'
> [  debug] isolated httpd_info VERSION = Apache/1.3.30-dev (Unix)
> 
> 
> I thought it was supposed to ignore saved settings for core builds?

First, mp2-build case completely ignored any saved settings, then for some 
reason I thought that it should always use it, forgetting that mp2 build 
doesn't explicitly override any values. So now I've changed to to take the 
best of these two approaches: It will re-use any saved values for port, user 
and group, but will always ignore any saved values for httpd and apxs. I've 
updated the spec w/ this note.

Please let me know whether this has resolved the problem. Thanks.

__________________________________________________________________
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