#43592 [Opn->Fbk]: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing

From: Date: Mon, 17 Dec 2007 10:02:48 +0000
Subject: #43592 [Opn->Fbk]: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120693@lists.php.net to get a copy of this message
 ID:               43592
 Updated by:       sniper@php.net
 Reported By:      will at willspc dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Linux 2.6.9-55.0.6.EL
 PHP Version:      5.2.5
 New Comment:

How did you install the c-client library? What OS are you using?


Previous Comments:
------------------------------------------------------------------------

[2007-12-14 01:50:29] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43592&edit=1


Thread (7 messages)

« previous php.bugs (#120693) next »