|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-22 21:38 UTC] tony2001@php.net
[2006-11-27 14:30 UTC] nick dot ferszt at ga dot com
[2006-11-27 15:01 UTC] tony2001@php.net
[2006-11-28 14:48 UTC] nick dot ferszt at ga dot com
[2006-11-28 15:08 UTC] tony2001@php.net
[2006-11-28 16:04 UTC] nick dot ferszt at ga dot com
[2006-11-28 16:20 UTC] nick dot ferszt at ga dot com
[2006-11-28 16:29 UTC] nick dot ferszt at ga dot com
[2006-11-28 16:31 UTC] tony2001@php.net
[2006-11-28 16:36 UTC] nick dot ferszt at ga dot com
[2006-11-28 16:51 UTC] tony2001@php.net
[2006-11-28 16:58 UTC] nick dot ferszt at ga dot com
[2006-12-04 20:46 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 12:00:01 2025 UTC |
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.