|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-12-14 01:50 UTC] will at willspc dot net
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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 01:00:02 2025 UTC |
Yes, the same problem installing php-5.2.8 on Linux Redhat 2.6.18-xenU #1 SMP Thu Oct 4 12:23:41 BST 2007 x86_64 x86_64 x86_64 GNU/Linux The last lines of config.log are: ############################## configure:47185: checking for IMAP support configure:47232: checking for IMAP Kerberos support configure:47258: checking for IMAP SSL support configure:47663:19: /mail.h: No such file or directory configure:47682: checking for utf8_mime2text signature configure:47700: gcc -c -I conftest.c 1>&5 gcc: no input files configure: failed program was: #line 47687 "configure" #include "confdefs.h" #include <stdio.h> #include <c-client.h> int main() { SIZEDTEXT *src, *dst; utf8_mime2text(src, dst); ; return 0; } configure:47729: checking for U8T_CANONICAL configure:47745: gcc -c -I conftest.c 1>&5 gcc: no input files configure: failed program was: #line 47734 "configure" #include "confdefs.h" #include <c-client.h> int main() { int i = U8T_CANONICAL; ; return 0; } ############################## I'm urgently trying to install php5 on my box but this is a blocker.