Bug #14836: Cannot find imap library
| From: | richard at brustfam dot com | Date: | Fri, 04 Jan 2002 02:55:02 +0000 |
| Subject: | Bug #14836: Cannot find imap library | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75829@lists.php.net to get a copy of this message | ||
From: richard@brustfam.com
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