Bug #15572 Updated: apxs check fails because of missing quotes

From: Date: Mon, 04 Mar 2002 17:04:19 +0000
Subject: Bug #15572 Updated: apxs check fails because of missing quotes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1621@lists.php.net to get a copy of this message
ID: 15572 Updated by: porter@caip.rutgers.edu Reported By: ralf.nyren@educ.umu.se Status: Open Bug Type: *Compile Issues Operating System: Solaris 8 PHP Version: 4.1.1 New Comment: Same exact problem but the fix didn't help me. Same thing happens for 4.1.1 and 4.1.2. Also on Solaris 7. I just get the apxs usage message. Note: Currently running Apache 1.3.22 and PHP 4.1.0, in case remnants from those could be hosing it. Previous Comments: ------------------------------------------------------------------------ [2002-02-15 11:14:30] ralf.nyren@educ.umu.se A little glitch in sapi/apache/config.m4 causes the apxs check of working -S option to fail. Although the compile succeeds the installation isn't performed correctly, at least not when using INSTALL_ROOT. The patch included below fixes the problem. regards, Ralf Nyrén diff -ur php-4.1.1.orig/sapi/apache/config.m4 php-4.1.1/sapi/apache/config.m4 --- php-4.1.1.orig/sapi/apache/config.m4 Mon Nov 19 01:52:02 2001 +++ php-4.1.1/sapi/apache/config.m4 Fri Feb 15 15:22:47 2002 @@ -41,7 +41,7 @@ PHP_SAPI=apache # Test whether apxs support -S option - $APXS -q -S CFLAGS=$APXS_CFLAGS CFLAGS >/dev/null 2>&1 + $APXS -q -S CFLAGS="$APXS_CFLAGS" CFLAGS >/dev/null 2>&1 if test "$?" != "0"; then APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED" # Old apxs does not have -S option ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15572&edit=1

« previous php.bugs (#1621) next »