You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Jochen Topf <jo...@remote.org> on 2002/03/18 11:16:42 UTC

make test bug

In 2.0b6 there is a small bug in 'make test'. mod_log_config is not loaded
so the CustomLog and other directives do not work. Here is a patch to fix
this.

===================
--- Embperl-2.0b6/Makefile.PL	Mon Mar 11 15:15:08 2002
+++ Embperl-2.0b6-jt/Makefile.PL	Sun Mar 17 18:56:20 2002
@@ -40,6 +40,13 @@
 			win32filetext   => 'ApacheModuleDir.dll or mod_dir.so',
 		      },
 
+      'mod_log_config.c'  => { name	    => 'config_log_module', 
+			path	    => ['$apache_src/modules/standard/mod_log_config.so', '$EPBINDIR/modules/mod_log_config.so', '$apache_src/mod_log_config.so'],
+			win32path   => ['$apache_src/modules/standard/apachemodulelogconfig.dll', '$EPBINDIR/modules/apachemodulelogconfig.dll', '$EPBINDIR/modules/mod_log_config.so'],
+			file	    => ['mod_log_config.so', 'apachemodulelogconfig.dll'],
+			win32filetext   => 'ApacheModuleLogConfig.dll or mod_log_config.so',
+		      },
+
       'mod_env.c'  => { name	    => 'env_module', 
 			path	    => ['$apache_src/modules/standard/mod_env.so', '$EPBINDIR/modules/mod_env.so', '$apache_src/mod_env.so'],
 			win32path   => ['$apache_src/modules/standard/apachemoduleenv.dll', '$EPBINDIR/modules/apachemoduleenv.dll', '$EPBINDIR/modules/mod_env.so'],
===================

I just guessed at the name for the Windows DLL so this might not work in
Windows.

Jochen
-- 
Jochen Topf  jochen@remote.org  http://www.remote.org/jochen/  +49-721-388298


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


Re: make test bug

Posted by Gerald Richter <ri...@ecos.de>.
> In 2.0b6 there is a small bug in 'make test'. mod_log_config is not loaded
> so the CustomLog and other directives do not work. Here is a patch to fix
> this.

Thanks for the spot. CustomLog and LogFormat are not needed for make test. I
just put them in for a test and forgot to throw them out again and it seem
that my test suite, which tests against various Perl/Apache/mod_perl
versions and configurations, didn't catched this.

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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