You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@gbiv.com> on 2011/11/11 02:08:16 UTC

trunk makefile echoing modules

I am getting the following on OS X Lion:

Installing configuration files
/bin/sh: ,authn_file,: command not found
/bin/sh: ,authn_dbm,: command not found
/bin/sh: ,authn_anon,: command not found
/bin/sh: ,authn_dbd,: command not found
/bin/sh: ,authn_socache,: command not found
/bin/sh: ,authn_core,: command not found
/bin/sh: ,authz_host,: command not found
/bin/sh: ,authz_groupfile,: command not found
/bin/sh: ,authz_user,: command not found
/bin/sh: ,authz_dbm,: command not found
...

I am guessing it has something to do with 

------------------------------------------------------------------------
r1200064 | sf | 2011-11-09 16:41:20 -0800 (Wed, 09 Nov 2011) | 2 lines
Changed paths:
   M /httpd/httpd/trunk/Makefile.in
   M /httpd/httpd/trunk/acinclude.m4

Fix selection of loaded modules on AIX because its grep doesn't understand \< and \>

------------------------------------------------------------------------
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 1200063)
+++ Makefile.in	(revision 1200064)
@@ -60,7 +60,7 @@
 	    				< $$i; \
 	    			for j in $(DSO_MODULES) "^EOL^"; do \
 	    				if test $$j != "^EOL^"; then \
-	    					if echo "$(ENABLED_DSO_MODULES)"|$(EGREP) "\<$$j\>" > /dev/null ; then \
+	    					if echo ",$(ENABLED_DSO_MODULES),"|$(EGREP) ",$$j," > /dev/null ; then \
 	    						loading_disabled=""; \
 	    					else \
 	    						loading_disabled="#"; \
Index: acinclude.m4
===================================================================
--- acinclude.m4	(revision 1200063)
+++ acinclude.m4	(revision 1200064)
@@ -257,7 +257,7 @@
             # add default MPM to LoadModule list
             if test $1 = $default_mpm; then
                 DSO_MODULES="$DSO_MODULES mpm_$1"
-                ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES mpm_$1"
+                ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},mpm_$1"
             fi
         fi
         $4
@@ -360,7 +360,7 @@
       shared=yes
       DSO_MODULES="$DSO_MODULES $1"
       if test "$_apmod_required" = "yes" ; then
-        ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES $1"
+        ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},$1"
       fi
       ;;
     esac


Re: trunk makefile echoing modules

Posted by Stefan Fritsch <sf...@sfritsch.de>.
Hi Roy,

please post your config.log and build/config_vars.mk somewhere on 
people.apache.org.

Cheers,
Stefan

On Thu, 10 Nov 2011, Roy T. Fielding wrote:

> I am getting the following on OS X Lion:
>
> Installing configuration files
> /bin/sh: ,authn_file,: command not found
> /bin/sh: ,authn_dbm,: command not found
> /bin/sh: ,authn_anon,: command not found
> /bin/sh: ,authn_dbd,: command not found
> /bin/sh: ,authn_socache,: command not found
> /bin/sh: ,authn_core,: command not found
> /bin/sh: ,authz_host,: command not found
> /bin/sh: ,authz_groupfile,: command not found
> /bin/sh: ,authz_user,: command not found
> /bin/sh: ,authz_dbm,: command not found
> ...
>
> I am guessing it has something to do with
>
> ------------------------------------------------------------------------
> r1200064 | sf | 2011-11-09 16:41:20 -0800 (Wed, 09 Nov 2011) | 2 lines
> Changed paths:
>   M /httpd/httpd/trunk/Makefile.in
>   M /httpd/httpd/trunk/acinclude.m4
>
> Fix selection of loaded modules on AIX because its grep doesn't understand \< and \>
>
> ------------------------------------------------------------------------
> Index: Makefile.in
> ===================================================================
> --- Makefile.in	(revision 1200063)
> +++ Makefile.in	(revision 1200064)
> @@ -60,7 +60,7 @@
> 	    				< $$i; \
> 	    			for j in $(DSO_MODULES) "^EOL^"; do \
> 	    				if test $$j != "^EOL^"; then \
> -	    					if echo "$(ENABLED_DSO_MODULES)"|$(EGREP) "\<$$j\>" > /dev/null ; then \
> +	    					if echo ",$(ENABLED_DSO_MODULES),"|$(EGREP) ",$$j," > /dev/null ; then \
> 	    						loading_disabled=""; \
> 	    					else \
> 	    						loading_disabled="#"; \
> Index: acinclude.m4
> ===================================================================
> --- acinclude.m4	(revision 1200063)
> +++ acinclude.m4	(revision 1200064)
> @@ -257,7 +257,7 @@
>             # add default MPM to LoadModule list
>             if test $1 = $default_mpm; then
>                 DSO_MODULES="$DSO_MODULES mpm_$1"
> -                ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES mpm_$1"
> +                ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},mpm_$1"
>             fi
>         fi
>         $4
> @@ -360,7 +360,7 @@
>       shared=yes
>       DSO_MODULES="$DSO_MODULES $1"
>       if test "$_apmod_required" = "yes" ; then
> -        ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES $1"
> +        ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},$1"
>       fi
>       ;;
>     esac
>
>