| 5 | |
| 6 | To add imap support to php download the uw-imap package from: |
| 7 | wget ftp://ftp.cac.washington.edu/imap/imap.RELEASE.tar.Z |
| 8 | Unpack it and edit src/osdep/unix/Makefile to amtch some entrys according to his: |
| 9 | SSLDIR=/usr |
| 10 | SSLCERTS=/etc/certs |
| 11 | SSLKEYS=$(SSLCERTS) |
| 12 | SSLINCLUDE=$(SSLDIR)/include |
| 13 | SSLLIB=$(SSLDIR)/lib |
| 14 | and |
| 15 | SPOOLDIR=/var/spool |
| 16 | MAILSPOOL=/var/mail |
| 17 | NEWSSPOOL=/var/news |
| 18 | Now build the package: |
| 19 | |
| 20 | {{{ |
| 21 | make slx |
| 22 | mkdir /usr/lib/c-client |
| 23 | mkdir /usr/lib/c-client/include |
| 24 | mkdir /usr/lib/c-client/lib |
| 25 | cp c-client/c-client.a /usr/lib/c-client/lib |
| 26 | ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client.a |
| 27 | ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client4.a |
| 28 | cp c-client/*.h /usr/lib/c-client/include |
| 29 | }}} |
| 30 | |
| 31 | Now build php according to the book and add "--with-imap=/usr/lib/c-client" to the configure line. |