From: mathias dot lieber at web dot de Operating system: Linux, 2.6.18, Ubuntu/Debian PHP version: 5.2.0 PHP Bug Type: *Compile Issues Bug description: Build error in ext/imap (U8T_CANONICAL def missing)
Description: ------------ 5.2.0 does not build because it's missing the definition of "U8T_CANONICAL" in the imap extension. I tried both with libc-client-dev package as well as with self-compiled imapd.2006XXX.TAR.GZ. Reproduce code: --------------- ./configure --with-gettext --with-imap --with-imap-ssl --with-zlib --with-gd --with-mcrypt --with-openssl --with-xml --without-pear --with-apxs2=/usr/local/apache2/bin/apxs --enable-memory-limit --enable-track-vars --enable-wddx --enable-ftp --enable-gd-native-ttf --enable-sysvmsg --enable-sysvem --enable-sysvshm --enable-transid --disable-debug --disable-magic-quotes --with-mysql --enable-cli --enable-cgi --with-ldap --with-kerberos --with-mssql=/usr/local/freetds --enable-force-cgi-redirect make Actual result: -------------- /bin/sh /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/usr/local/src/php-5.2.0/ext/imap/ -DPHP_ATOM_INC -I/usr/local/src/php-5.2.0/include -I/usr/local/src/php-5.2.0/main -I/usr/local/src/php-5.2.0 -I/usr/include/libxml2 -I/usr/local/src/php-5.2.0/ext/date/lib -I/usr/local/include -I/usr/local/src/php-5.2.0/ext/mbstring/oniguruma -I/usr/local/src/php-5.2.0/ext/mbstring/libmbfl -I/usr/local/src/php-5.2.0/ext/mbstring/libmbfl/mbfl -I/usr/local/freetds/include -I/usr/include/mysql -I/usr/local/src/php-5.2.0/TSRM -I/usr/local/src/php-5.2.0/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/src/php-5.2.0/ext/imap/php_imap.c -o ext/imap/php_imap.lo /usr/local/src/php-5.2.0/ext/imap/php_imap.c: In function 'zif_imap_utf8': /usr/local/src/php-5.2.0/ext/imap/php_imap.c:2188: error: 'U8T_CANONICAL' undeclared (first use in this function) /usr/local/src/php-5.2.0/ext/imap/php_imap.c:2188: error: (Each undeclared identifier is reported only once /usr/local/src/php-5.2.0/ext/imap/php_imap.c:2188: error: for each function it appears in.) make: *** [ext/imap/php_imap.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=40132&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40132&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40132&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40132&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40132&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40132&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40132&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40132&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40132&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40132&r=support Expected behavior: http://bugs.php.net/fix.php?id=40132&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40132&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40132&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40132&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40132&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40132&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40132&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40132&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40132&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40132&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40132&r=mysqlcfg