From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 7.0
PHP version:      4.1.0
PHP Bug Type:     Compile Failure
Bug description:  Cannot find imap library

original configure script:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php
--with-imap=../imapServer

Note: ../imapServer is the dir where I gunzip'd the source files.

This script gives the error:
Cannot find rfc822.h. Please check your IMAP installation.

Then I do another configure where I specify the location of rfc822.h:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php
--with-imap=../imapServer/src

Now the error is:
Cannot find imap library. Please check your IMAP installation.

I have also downloaded the newest IMAP source from
http://www.washington.edu/imap/, but the same error messages appear.

By the way, PHP, Apache, and the IMAP server were, and still are, working
fine.  It's just that I cannot recompile PHP with IMAP support.
-- 
Edit bug report at: http://bugs.php.net/?id=14836&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to