ID: 39401
User updated by: wouter at widexs dot nl
Reported By: wouter at widexs dot nl
Status: Open
Bug Type: IMAP related
Operating System: Linux
PHP Version: 5.2.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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] [EMAIL PROTECTED]
Can you see if HAVE_NEW_MIME2TEXT is defined inside PHP's
main.h ?
------------------------------------------------------------------------
[2006-11-06 18:25:37] wouter at widexs dot nl
Yes, it does :)
grep "mail_append_set" src/c-client/mail.h
SEARCHSET *mail_append_set (SEARCHSET *set,unsigned long msgno);
------------------------------------------------------------------------
[2006-11-06 17:01:26] [EMAIL PROTECTED]
Does your imap's mail.h header contain the mail_append_set()
function?
------------------------------------------------------------------------
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