[imp] php imap problem

Brent J. Nordquist bjn@horde.org
Wed, 1 Nov 2000 09:11:21 -0600 (CST)


On Wed, 1 Nov 2000, Chris Crowley <ccrowley@tulane.edu> wrote:

> I also tried to explicitly include the src directory of imap-4.5 in my
> CPPFLAGS, but to no avail. Does anyone else have an install using
> imap-4.5, php4.0.3pl1, on Solaris?

First off, if you're using UW-IMAP, you want at least 4.7c2 which has
security and bug fixes.  I'm pretty sure I remember that you will have
trouble with 4.5 + IMP (message new/read flags IIRC).

Second, the way I do UW-IMAP with Solaris is to compile it, and then I do
what amounts to an IMAP c-client install, as follows:

	c-client/linkage.h -> /usr/local/include
	src/c-client/mail.h -> /usr/local/include
	src/c-client/rfc822.h -> /usr/local/include
	src/c-client/utf8.h -> /usr/local/include
	c-client/c-client.a -> /usr/local/lib/libc-client.a

Note that c-client.a rename to libc-client.a that someone already
mentioned.  Then PHP seems to pick up UW-IMAP with no problem.  Caveat:  
I'm using PHP 3 so I don't know if it will be exactly the same for you.

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942