From: wim at godden dot net Operating system: Linux 2.4.20 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: Parse error in IMAP compilation
Description: ------------ I use Courier IMAP (latest version) and have followed all steps in the manual. When I compile, I get : /bin/sh /root/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/root/php-4.3.2/ext/imap/ -DPHP_ATOM_INC -I/root/php-4.3.2/include -I/root/php-4.3.2/main -I/root/php-4.3.2 -I/usr/local/apache/include -I/root/php-4.3.2/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/courier-imap/include -I/usr/local/include/mcal -I/usr/local/mysql/include/mysql -I/root/php-4.3.2/ext/xml/expat -I/root/php-4.3.2/TSRM -g -O2 -prefer-pic -c /root/php-4.3.2/ext/imap/php_imap.c -o ext/imap/php_imap.lo In file included from /root/php-4.3.2/ext/imap/php_imap.c:45: /root/php-4.3.2/ext/imap/php_imap.h:76: parse error before "MAILSTREAM" /root/php-4.3.2/ext/imap/php_imap.h:76: warning: no semicolon at end of struct or union /root/php-4.3.2/ext/imap/php_imap.h:78: parse error before '}' token /root/php-4.3.2/ext/imap/php_imap.h:78: warning: data definition has no type or storage class /root/php-4.3.2/ext/imap/php_imap.h:81: parse error before "SIZEDTEXT" and so on... -- Edit bug report at http://bugs.php.net/?id=24172&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24172&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24172&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24172&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24172&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24172&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24172&r=support Expected behavior: http://bugs.php.net/fix.php?id=24172&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24172&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24172&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24172&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24172&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24172&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24172&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24172&r=gnused