#39401 [Bgs->Opn]: conflicting types for utf8_mime2text

From: Date: Fri, 17 Nov 2006 10:26:54 +0000
Subject: #39401 [Bgs->Opn]: conflicting types for utf8_mime2text
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105172@lists.php.net to get a copy of this message
ID: 39401 User updated by: wouter at widexs dot nl Reported By: wouter at widexs dot nl -Status: Bogus +Status: Open Bug Type: IMAP related Operating System: Linux -PHP Version: 5.2.0 +PHP Version: 4.4.4 New Comment: This was indeed fixed when using full-path, BUT it is still present in PHP 4.4.4 and PHP4-dev. (bugfix from 5.x not backported to 4.x) Previous Comments: ------------------------------------------------------------------------ [2006-11-07 20:53:18] iliaa@php.net It works just fine here as long as the fullpath to the library is specified ala /usr/local/imap-2006c ------------------------------------------------------------------------ [2006-11-07 19:58:52] wouter at widexs dot nl This patch fixes my problem ... --- php-5.2.0/configure Wed Nov 1 03:01:06 2006 +++ php-5.2.0-fix/configure Tue Nov 7 20:55:02 2006 @@ -45673,10 +45673,12 @@ rm -f conftest* + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS=-I$IMAP_INC_DIR cat > conftest.$ac_ext <<EOF #line 45678 "configure" #include "confdefs.h" -#include <$IMAP_INC_DIR/mail.h> +#include "mail.h" EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "mail_append_set" >/dev/null 2>&1; then @@ -45690,7 +45692,8 @@ fi rm -f conftest* - + CPPFLAGS=$old_CPPFLAGS + old_CPPFLAGS=$CPPFLAGS CPPFLAGS=-I$IMAP_INC_DIR cat > conftest.$ac_ext <<EOF ------------------------------------------------------------------------ [2006-11-07 19:26:46] wouter at widexs dot nl CHECKING FOR HAVE_NEW_MIME2TEXT configure:45679: ../imap-2006c1/c-client/mail.h: No such file or directory This file exists though... If I change configure from : #include <$IMAP_INC_DIR/mail.h> to #include "$IMAP_INC_DIR/mail.h" It correctly works... ------------------------------------------------------------------------ [2006-11-07 18:49:33] wouter at widexs dot nl It hasn't ... php-5.2.0/main/php_config.h:/* #undef HAVE_NEW_MIME2TEXT */ ------------------------------------------------------------------------ [2006-11-07 17:09:03] iliaa@php.net Can you see if HAVE_NEW_MIME2TEXT is defined inside PHP's main.h ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39401 -- Edit this bug report at http://bugs.php.net/?id=39401&edit=1

« previous php.bugs (#105172) next »