On Wed, 19 May 2004, Joel wrote:

> Forgive me if this has already been reported. I could not find any
> references to it in the archives.
>
> --Joel
>
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> 'make test' fails while initializing the apache server for testing. Here
> are the results of the 'make test'.
>
> --- BEGIN MAKE TEST RESULS ---
[ .. ]
> waiting 120 seconds for server to start: .Syntax error on line 704 of
> /usr/local/src/mod_perl-1.99_13/t/conf/httpd.conf:
> Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not
> included in the server configuration
>
> So the relevant error is:
>
> Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not
> included in the server configuration
>
> And that's probably because I compiled apache with all of my modules as
> DSO. Call me strange, but that's the way I did it. Here's the output of
> "httpd -l", for reference.
>
> # /usr/local/apache2/bin/httpd  -l
> Compiled in modules:
>   core.c
>   prefork.c
>   http_core.c
>   mod_so.c
>
>
> My apache was configured using the following:
>
>     ./configure --prefix=/usr/local/apache2 \
>     --enable-mods-shared=all \
>     --enable-module=so
>
>
> So, my guess is that the mod_perl test suite is not
> including the "LoadModule env_module modules/mod_env.so"
> that is needed for "SetEnv" to work.
[ ... ]
Do you have
     LoadModule env_module modules/mod_env.so
enabled in your system httpd.conf? If not, does it
work if you do enable it?

-- 
best regards,
randy kobes

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to