Edit report at https://bugs.php.net/bug.php?id=65721&edit=1
ID: 65721 Updated by: ahar...@php.net Reported by: ryotakatsuki at gmail dot com Summary: configure script broken in 5.5.4 and 5.4.20 when enabling imap -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: All PHP Version: 5.5.4 -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Committed; thank you for the patch! Commit: https://github.com/php/php-src/commit/cc66eaa04b123bdfb6aaa7305713fa508640999e Previous Comments: ------------------------------------------------------------------------ [2013-09-20 09:47:02] ryotakatsuki at gmail dot com It also happens in 5.4.20 ------------------------------------------------------------------------ [2013-09-20 09:45:01] ryotakatsuki at gmail dot com Description: ------------ When compiling PHP enabling IMAP (--with-imap) the configure script breaks checking for c-client.a because of invalid syntax in the conditions: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && -r "$IMAP_DIR/c-client/c- client.a" ; then ... elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then ... fi Where the second check is missing the "test" command (&& -r ... instead of && test -r ...),. It should be: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c- client.a" ; then ... elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then ... fi ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65721&edit=1