#39591 [Opn->Fbk]: ./configure flag failure
| From: | tony2001@php.net | Date: | Wed, 22 Nov 2006 21:38:29 +0000 |
| Subject: | #39591 [Opn->Fbk]: ./configure flag failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105330@lists.php.net to get a copy of this message | ||
ID: 39591
Updated by: tony2001@php.net
Reported By: nick dot ferszt at ga dot com
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: OS X 10.3.9
PHP Version: 5.2.0
New Comment:
Please put your configure somewhere and post the URL here.
Previous Comments:
------------------------------------------------------------------------
[2006-11-22 17:31:56] nick dot ferszt at ga dot com
Description:
------------
When trying to configure 5.2.0 on OS X 10.3.9 I get the
error message(s):
./configure: line 2333: test: =: unary operator expected
expr: syntax error
./configure: line 2339: test: =: unary operator expected
expr: syntax error
etc...
To fix this in configure:
Replace lines 2325-2354 with
for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LIBS CC CXX; do
eval val=\$$var
if test -n "$val"; then
echo "$var='$val' \\" >> config.nice
fi
done
for arg in $0 "$@"; do
echo "'$arg' \\" >> config.nice
CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'"
done
echo '"$@"' >> config.nice
chmod +x config.nice
This solves the problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39591&edit=1