From: will at willspc dot net Operating system: Linux 2.6.9-55.0.6.EL PHP version: 5.2.5 PHP Bug Type: Compile Failure Bug description: Reproduced bug 40132 in V5.2.5
Description: ------------ 5.2.5 does not build because it's missing the definition of "U8T_CANONICAL" in the imap extension. I checked utf8.h on my system (buried in perl) and it does not have U8T_CANONICAL. I'm using a CENTOS/BlueQuartz box, which uses a DoveCot implementation of imap. Oddly enough, I originally tried using the exact configure command for 4.3.9, according to phpinfo (which was originally installed) and it did not build. I'm having to install many libraries to get it to work. Reproduce code: --------------- ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd=shared --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses=shared --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-xml --with-expat-dir=/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-pcre-regex=/usr --with-zlib=/usr --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos --with-ldap=shared --with-mysql=shared,/usr --with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --with-mime-magic=/usr/share/file/magic.mime Expected result: ---------------- I expect configure to succeed. Actual result: -------------- checking if your cpp allows macro usage in include lines... yes checking for IMAP support... yes, shared checking for IMAP Kerberos support... yes checking for IMAP SSL support... yes checking for utf8_mime2text signature... new checking for U8T_CANONICAL... no configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. -- Edit bug report at http://bugs.php.net/?id=43592&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43592&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43592&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43592&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43592&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43592&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43592&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43592&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43592&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43592&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43592&r=support Expected behavior: http://bugs.php.net/fix.php?id=43592&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43592&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43592&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43592&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43592&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43592&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43592&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43592&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43592&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43592&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43592&r=mysqlcfg
