From:             ryotakatsuki at gmail dot com
Operating system: All
PHP version:      5.5.4
Package:          Compile Failure
Bug Type:         Bug
Bug description:configure script broken in 5.5.4 and 5.4.20 when enabling imap

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 bug report at https://bugs.php.net/bug.php?id=65721&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65721&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65721&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65721&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65721&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65721&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65721&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65721&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65721&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65721&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65721&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65721&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65721&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65721&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65721&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65721&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65721&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65721&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65721&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65721&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65721&r=mysqlcfg

Reply via email to