note 16514 deleted from ref.imap by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 22:18:02 +0000 |
| Subject: | note 16514 deleted from ref.imap by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55748@lists.php.net to get a copy of this message | ||
Note Submitter: netshadow@madpoets.org
----
Compiling in IMAP support.
I recently successfully compiled in IMAP support for PHP4.0.6 statically compiled into apache on my
FreeBSD4.3 box. I did this using the most recent version of c-client(2001a/RC2). Originally I got
loads of "call to undefined....blahblah" errors.
The solution was this:
d/l, configure, and make the c-client library. (you do not need to make install)
Create 2 directories under the c-client subdirectory, lib/ and include/.
Copy c-client.a into lib and rename it to libc-client4.a.
Copy rfc822.h, mail.h, and linkage.h into include/.
Configure PHP with the path to the c-client subdir in the imap option
(--with-imap=/tmp/dircreatedbyuntar/c-client).
make and make install for php.
After this, the configure and make for apache went normally.
This worked fine for me on my BSD box, I assume that it would work in Linux as well, though I am not
familliar enough with it to say for sure