ID: 15056
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Compile Issues
Operating System: linux
PHP Version: 4.1.1
New Comment:

--- php-4.1.1/sapi/apache/config.m4     Mon Nov 19 
01:52:02 2001
+++ php-4.1.1.new/sapi/apache/config.m4 Tue Jan 15 
20:46:44 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

(he guys, you should really add a "attach file" option to 
your bug reporting system like it is common in bugzilla...)



Previous Comments:
------------------------------------------------------------------------

[2002-01-15 16:12:50] [EMAIL PROTECTED]

When I compile my self-created php rpm the configure 
script misdetects the capabilities of the installed apxs 
(speak: the -S option). That leads to files installed 
directly in /usr/lib/apache and not /var/tmp/php-root/...

I tracked it down and it looks like a bash incompatibilty 
(I'm using bash 2.04).

The attached patch fixes the problem for me.




------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=15056&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to