Bug #15056 Updated: rpm build problem: apxs capabilities misdetected
| From: | sander@php.net | Date: | Mon, 04 Mar 2002 18:37:23 +0000 |
| Subject: | Bug #15056 Updated: rpm build problem: apxs capabilities misdetected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1630@lists.php.net to get a copy of this message | ||
ID: 15056
Updated by: sander@php.net
Reported By: gerd@deam.de
-Status: Open
+Status: Closed
Bug Type: *Compile Issues
Operating System: linux
PHP Version: 4.1.1
New Comment:
This bug has been fixed in CVS.
(dupe of #15572)
Previous Comments:
------------------------------------------------------------------------
[2002-01-15 16:15:19] gerd@deam.de
--- 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...)
------------------------------------------------------------------------
[2002-01-15 16:12:50] gerd@deam.de
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