From 0164f8c66acc5fa7f1d41deee65de39adf20e1cc Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Thu, 26 Sep 2002 21:47:41 +0000 Subject: [PATCH] be a little bit more verbose and explicit about the installation of c-client library git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@97060 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/imap/reference.xml | 67 +++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/reference/imap/reference.xml b/reference/imap/reference.xml index 0c21b064ed..b80ec66029 100644 --- a/reference/imap/reference.xml +++ b/reference/imap/reference.xml @@ -1,5 +1,5 @@ - + IMAP, POP3 and NNTP functions IMAP @@ -18,29 +18,62 @@
&reftitle.required; - This extension requires the c-client library to be installed. - Grab the latest version from &url.imap; - and compile it. + This extension requires the c-client library to be installed. + Grab the latest version from &url.imap; + and compile it. + + You have to copy some files to make sure they are in your link path + (e.g.: /usr/local/lib/) and include directory + (e.g.: /usr/local/include). + The files to copy can be found in the source tree + under imap-200x/c-lient after a succesfull run of + make. Copy c-client.a + to /usr/local/lib/libc-client.a or some other + directory on your link path. + + + + Make sure c-client.a ends up in your link path + under the name libc-client.a. + + + + Copy the following files to /usr/local/include or some + other directory in your include path. + + c-client.h + imap4r1.h + rfc822.h + mail.h + linkage.h + env.h + env_unix.h + fs.h + ftl.h + misc.h + nntp.h + nl.h + osdep.h + smtp.h + tcp.h + + + + + The name of env_unix.h depends on your OS. + Make sure to copy this files with following symlinks option. + To build the c-client library with SSL or/and Kerberos support read + the docs supplied with the package. + +
&reftitle.install; To get these functions to work, you have to compile PHP with - . - - - Then copy c-client/c-client.a to - /usr/local/lib/libc-client.a or some other - directory on your link path and copy - c-client/c-client.h, - c-client/imap4r1.h, - c-client/rfc-882.h, - c-client/mail.h and - c-client/linkage.h - to /usr/local/include or some other directory in - your include path. + .