ID:               39401
 Comment by:       jmoseley at pgtv dot com
 Reported By:      wouter at widexs dot nl
 Status:           Open
 Bug Type:         IMAP related
 Operating System: Linux
 PHP Version:      4.4.4
 New Comment:

Can someone provide a patch for 4.4.4?  The latest CVS release of 4.4.4
does not include the fix.

I'd compile 5.2.0, but I am having linker problems since I run a
Solaris box that uses a GCC compiler build with Sun's ld, blah, blah,
blah.


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

[2006-11-17 10:26:53] wouter at widexs dot nl

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)

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

[2006-11-07 20:53:18] [EMAIL PROTECTED]

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 */

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

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

Reply via email to