From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.1.1 PHP Bug Type: *Compile Issues Bug description: apxs check fails because of missing quotes
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 bug report at http://bugs.php.net/?id=15572&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15572&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15572&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15572&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15572&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15572&r=support Expected behavior: http://bugs.php.net/fix.php?id=15572&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15572&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15572&r=submittedtwice