You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Malcolm J Harwood <mj...@liminalflux.net> on 2005/05/24 23:00:24 UTC
latest svn build problems (was Re: RC6 build problems)
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
Re: latest svn build problems
Posted by Malcolm J Harwood <mj...@liminalflux.net>.
On Wednesday 25 May 2005 01:55 pm, Stas Bekman wrote:
> <IfModule mod_env.c> is the right one. Now committed. Thanks Malcolm!
> Anything else?
Everything works fine here.
Thanks.
Re: latest svn build problems
Posted by Stas Bekman <st...@stason.org>.
Malcolm J Harwood wrote:
> On Tuesday 24 May 2005 05:21 pm, Stas Bekman wrote:
>
>
>>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>
>
>
> That doesn't work, but using:
> <IfModule mod_setenv.c>
> or
> <IfModule mod_env.c>
> does.
<IfModule mod_env.c> is the right one. Now committed. Thanks Malcolm!
Anything else?
--
__________________________________________________________________
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
Re: latest svn build problems
Posted by Malcolm J Harwood <mj...@liminalflux.net>.
On Tuesday 24 May 2005 05:21 pm, Stas Bekman wrote:
> 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>
That doesn't work, but using:
<IfModule mod_setenv.c>
or
<IfModule mod_env.c>
does.
Re: latest svn build problems (was Re: RC6 build problems)
Posted by Stas Bekman <st...@stason.org>.
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