Yeni kurduğum ve Apache kurmadığım bir sunucu da php5'e IMAP desteğini
veremiyorum. Bu konuda bilgisi olan arkadaşlarımız var mı acaba?

 

[r...@mail /usr/ports/mail/php5-imap]# make

===>  Patching for php5-imap-5.2.9

===>  Applying FreeBSD patches for php5-imap-5.2.9

Ignoring previously applied (or reversed) patch.

1 out of 1 hunks ignored--saving rejects to php_imap.c.rej

=> Patch patch-php_imap.c failed to apply cleanly.

*** Error code 1

 

Stop in /usr/ports/mail/php5-imap.

[r...@mail /usr/ports/mail/php5-imap]#

 

[r...@mail /usr/ports/mail/php5-imap]# more
work/php-5.2.9/ext/imap/php_imap.c.rej

***************

*** 2201,2207 ****

  

        /* rfc822_parse_adrlist() modifies passed string. Copy it. */

        str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str));

-       rfc822_parse_adrlist(&env->to, str_copy, defaulthost);

        efree(str_copy);

  

        array_init(return_value);

--- 2201,2207 ----

  

        /* rfc822_parse_adrlist() modifies passed string. Copy it. */

        str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str));

+       rfc822_parse_adrlist(&env->to, str_copy, Z_STRVAL_PP(defaulthost));

        efree(str_copy);

  

        array_init(return_value);

 

[r...@mail /usr/ports/mail/php5-imap]# more
work/php-5.2.9/ext/imap/php_imap.c.rej.orig 

***************

*** 2201,2207 ****

  

        /* rfc822_parse_adrlist() modifies passed string. Copy it. */

        str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str));

-       rfc822_parse_adrlist(&env->to, str_copy, defaulthost);

        efree(str_copy);

  

        array_init(return_value);

--- 2201,2207 ----

  

        /* rfc822_parse_adrlist() modifies passed string. Copy it. */

        str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str));

+       rfc822_parse_adrlist(&env->to, str_copy, Z_STRVAL_PP(defaulthost));

        efree(str_copy);

  

        array_init(return_value);

[r...@mail /usr/ports/mail/php5-imap]#

 

 

Kolay gelsin..

Cevap