perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: latest svn build problems (was Re: RC6 build problems)
Date Tue, 24 May 2005 21:21:26 GMT
Malcolm J Harwood wrote:
> On Saturday 14 May 2005 01:52 pm, you wrote:
> 
> 
>>The same thing happens with mod_env disabled:
>>
>>Syntax error on line 862
>>of
>>/home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0.0-dev/t/conf/htt
>>pd.conf: Invalid command 'SetEnv', perhaps mis-spelled or defined by a
>>module not included in the server configuration
> 
> 
> The latest from svn adds a new one:
> 
> .Syntax error on line 217 
> of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-svn/ModPerl-Registry/t/conf/extra.conf:
> Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not 
> included in the server configuration

Please try:

Index: ModPerl-Registry/t/conf/extra.conf.in
===================================================================
--- ModPerl-Registry/t/conf/extra.conf.in       (revision 178247)
+++ ModPerl-Registry/t/conf/extra.conf.in       (working copy)
@@ -203,7 +203,9 @@
  # XXX: would be nice to have Apache-Test support a new 'tmp' token
  # (similar to t_logs) which will map onto t/tmp by default and provide
  # a new -tmp option to override this default
-SetEnv TMPDIR @t_logs@
+<IfModule mod_setenvif.c>
+    SetEnv TMPDIR @t_logs@
+</IfModule>
  # </sandbox-friendly>

-- 
__________________________________________________________________
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

Mime
View raw message