Bug #65722 [Opn->Dup]: syntax error in configure: -r: command not found

From: Date: Fri, 20 Sep 2013 17:21:17 +0000
Subject: Bug #65722 [Opn->Dup]: syntax error in configure: -r: command not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181721@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65722&edit=1 ID: 65722 Updated by: requinix@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

« previous php.bugs (#181721) next »