From:             dbk2oo5 at mail dot ru
Operating system: 2.6.15
PHP version:      5.2.1
PHP Bug Type:     Compile Failure
Bug description:  Build error in ext/imap (U8T_CANONICAL def missing)

Description:
------------
5.2.1 does not build because it's missing the definition of
"U8T_CANONICAL" in the imap extension.
5.2.0 does build without problems.

Reproduce code:
---------------
./configure '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2'
'--with-config-file-path=/etc/php5/apache2' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static'
'--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php'
'--enable-calendar' '--enable-sysvsem' '--enable-sysvshm'
'--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid'
'--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4'
'--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp'
'--enable-dbase' '--with-gettext' '--enable-mbstring' '--with-pcre-regex'
'--enable-shmop' '--enable-sockets' '--enable-wddx' '--enable-tokenizer'
'--enable-xml' '--with-expat-dir=/usr' '--enable-bcmath' '--with-bz2'
'--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif'
'--enable-filepro' '--enable-ftp' '--enable-dbase' '--with-gettext'
'--enable-mbstring' '--with-pcre-regex' '--enable-shmop'
'--enable-sockets' '--enable-wddx' '--enable-tokenizer'
'--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr'
'--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php5/libexec' '--without-mm' '--with-mysql'
'--without-sybase-ct' --enable-safe-mode --with-gd --with-jpeg --with-png
--with-gif --with-ttf --enable-gd-native-ttf --enable-gd-imgstrttf
--with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-freetype-dir=yes
--with-imap --with-imap-ssl --with-zlib-dir=/usr

Actual result:
--------------
[...]
checking for IMAP support... yes
checking for IMAP Kerberos support... /usr
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.

config.log:
configure:45953: checking for U8T_CANONICAL
configure:45969: gcc -c -I/usr/local/include  -D_REENTRANT conftest.c
1>&5
configure:45960:22: c-client.h: No such file or directory
configure: In function `main':
configure:45964: error: `U8T_CANONICAL' undeclared (first use in this
function)
configure:45964: error: (Each undeclared identifier is reported only once
configure:45964: error: for each function it appears in.)
configure: failed program was:
#line 45958 "configure"
#include "confdefs.h"

#include <c-client.h>

int main() {

         int i = U8T_CANONICAL;

; return 0; }


-- 
Edit bug report at http://bugs.php.net/?id=40475&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40475&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40475&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40475&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40475&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40475&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40475&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40475&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40475&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40475&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40475&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40475&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40475&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40475&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40475&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40475&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40475&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40475&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40475&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40475&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40475&r=mysqlcfg

Reply via email to