#39911 [NEW]: Problem compiling php 4.4.4 with imap-2006d
| From: | pierre at zenutech dot com | Date: | Wed, 20 Dec 2006 19:56:19 +0000 |
| Subject: | #39911 [NEW]: Problem compiling php 4.4.4 with imap-2006d | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106689@lists.php.net to get a copy of this message | ||
From: pierre at zenutech dot com
Operating system: Centos 4.4
PHP version: 4.4.4
PHP Bug Type: Compile Failure
Bug description: Problem compiling php 4.4.4 with imap-2006d
Description:
------------
Hi,
I compile from source PHP 4.4.4 and imap-2006d. I used to use imap-2004
without problem, but now compiling with a newer version of imap
(ftp://ftp.cac.washington.edu/imap/) gives me:
/bin/sh /usr/local/src/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/imap/ -I/usr/local/src/php-4.4.4/ext/imap/
-DPHP_ATOM_INC -I/usr/local/src/php-4.4.4/include
-I/usr/local/src/php-4.4.4/main -I/usr/local/src/php-4.4.4
-I/usr/local/ssl/include -I/usr/local/include
-I/usr/local/src/imap-2006d/c-client
-I/usr/local/src/php-4.4.4/ext/mbstring/mbregex
-I/usr/local/src/php-4.4.4/ext/mbstring/libmbfl
-I/usr/local/src/php-4.4.4/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.4.4/ext/xml/expat
-I/usr/local/src/php-4.4.4/TSRM -I/usr/local/src/php-4.4.4/Zend -g -O2
-prefer-non-pic -c /usr/local/src/php-4.4.4/ext/imap/php_imap.c -o
ext/imap/php_imap.lo
/usr/local/src/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types
for 'utf8_mime2text'
/usr/local/src/imap-2006d/c-client/utf8aux.h:37: error: previous
declaration of 'utf8_mime2text' was here
/usr/local/src/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types
for 'utf8_mime2text'
/usr/local/src/imap-2006d/c-client/utf8aux.h:37: error: previous
declaration of 'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1
/bin/sh /usr/local/src/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/imap/ -I/usr/local/src/php-4.4.4/ext/imap/
-DPHP_ATOM_INC -I/usr/local/src/php-4.4.4/include
-I/usr/local/src/php-4.4.4/main -I/usr/local/src/php-4.4.4
-I/usr/local/ssl/include -I/usr/local/include
-I/usr/local/src/imap-2006d/c-client
-I/usr/local/src/php-4.4.4/ext/mbstring/mbregex
-I/usr/local/src/php-4.4.4/ext/mbstring/libmbfl
-I/usr/local/src/php-4.4.4/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.4.4/ext/xml/expat
-I/usr/local/src/php-4.4.4/TSRM -I/usr/local/src/php-4.4.4/Zend -g -O2
-prefer-non-pic -c /usr/local/src/php-4.4.4/ext/imap/php_imap.c -o
ext/imap/php_imap.lo
/usr/local/src/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types
for 'utf8_mime2text'
/usr/local/src/imap-2006d/c-client/utf8aux.h:37: error: previous
declaration of 'utf8_mime2text' was here
/usr/local/src/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types
for 'utf8_mime2text'
/usr/local/src/imap-2006d/c-client/utf8aux.h:37: error: previous
declaration of 'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1
Do you have any suggestions? Is this a php bug?
--
Edit bug report at http://bugs.php.net/?id=39911&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39911&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39911&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39911&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39911&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39911&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39911&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39911&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39911&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39911&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39911&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39911&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39911&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39911&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39911&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39911&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39911&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39911&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39911&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39911&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39911&r=mysqlcfg