[imp] IMAP 4.5 & PHP 3.0.18 & SUN

Brent J. Nordquist bjn@horde.org
Fri, 9 Feb 2001 14:42:42 -0600 (CST)


On Fri, 9 Feb 2001, william wallace <wwallace27@hotmail.com> wrote:

> IMAP 4.5 is working good too. it was make with "make gso".

First off, you really should be using a more modern version; 4.5 has
security bugs, and other problems (flags) that affect Horde/IMP.  I
recommend 2000, or at least 4.7c2

Second, after you make it, how do you install c-client?  You want the
includes and libs to all be installed so that the PHP build can find them.
Here's how I do it on my Suns:

# chown root:other c-client/linkage.h src/c-client/mail.h \
	src/c-client/rfc822.h src/c-client/utf8.h c-client/c-client.a
# chmod 644 c-client/linkage.h src/c-client/mail.h \
	src/c-client/rfc822.h src/c-client/utf8.h c-client/c-client.a
# cp -p c-client/linkage.h src/c-client/mail.h src/c-client/rfc822.h \
	src/c-client/utf8.h /usr/local/include
# cp -p c-client/c-client.a /usr/local/lib/libc-client.a

Note the name change for the library.

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