php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14836 Cannot find imap library
Submitted: 2002-01-03 21:55 UTC Modified: 2002-01-04 00:58 UTC
From: richard at brustfam dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.0 OS: Linux RedHat 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: richard at brustfam dot com
New email:
PHP Version: OS:

 

 [2002-01-03 21:55 UTC] richard at brustfam dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-04 00:58 UTC] mfischer@php.net
Please ask for support at php-general@lists.php.net
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC