Edit report at https://bugs.php.net/bug.php?id=65722&edit=1
ID: 65722 Updated by: requi...@php.net Reported by: johan dot ekenberg at gmail dot com Summary: syntax error in configure: -r: command not found -Status: Open +Status: Duplicate Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 5.4.20 Block user comment: N Private report: N New Comment: #65721 just barely beat you to this :) Previous Comments: ------------------------------------------------------------------------ [2013-09-20 09:53:39] johan dot ekenberg at gmail dot com Description: ------------ This bug also exists in php 5.5.4 configure --with-imap fails with: ./configure: line 51014: -r: command not found checking whether rfc822_output_address_list function present... no checking whether build with IMAP works... no configure: error: build test failed. Please check the config.log for details. Fix: the word "test" is missing after &&, in two places. Like this: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && -r "$IMAP_DIR/c-client/c-client.a" ; then change to: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c-client.a" ; then Test script: --------------- ./configure --with-imap Expected result: ---------------- clean configure Actual result: -------------- ./configure: line 51014: -r: command not found checking whether rfc822_output_address_list function present... no checking whether build with IMAP works... no configure: error: build test failed. Please check the config.log for details. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65722&edit=1