[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: latest svn build problems (was Re: RC6 build problems)
From:       Stas Bekman <stas () stason ! org>
Date:       2005-05-24 21:21:26
Message-ID: 42939AD6.9030401 () stason ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic