ID: 39591 User updated by: nick dot ferszt at ga dot com Reported By: nick dot ferszt at ga dot com -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: OS X 10.3.9 PHP Version: 5.2.0 New Comment:
Configure can be found at: http://home.san.rr.com/factorysix/configure.txt These configure flages are from the orginal default install of 4.2.x with a few additions. It is quite possible that since 5.2.0 some options have been moved or changed making some configuration options unnessary. Previous Comments: ------------------------------------------------------------------------ [2006-11-22 21:38:29] [EMAIL PROTECTED] Please put your configure somewhere and post the URL here. ------------------------------------------------------------------------ [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