Edit report at https://bugs.php.net/bug.php?id=65721&edit=1
ID: 65721
User updated by: ryotakatsuki at gmail dot com
Reported by: ryotakatsuki at gmail dot com
Summary: configure script broken in 5.5.4 and 5.4.20 when
enabling imap
Status: Open
Type: Bug
Package: Compile Failure
Operating System: All
PHP Version: 5.5.4
Block user comment: N
Private report: N
New Comment:
It also happens in 5.4.20
Previous Comments:
------------------------------------------------------------------------
[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