PHP Configure Error

I'm trying to configure PHP with the following flags:
Code:
./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-imap --with-gettext --with-xml --with-ldap
I get this error:
Code:
configure: error: Cannot find rfc822.h. Please check your IMAP installation.
When I run a locate command I find that file no problem:
Code:
$ locate rfc822.h
/var/src/courier-imap-1.4.6/rfc822/rfc822.h
/var/src/courier-imap-1.4.6/rfc822/rfc822.html
/var/src/sqwebmail-3.3.4/rfc822/rfc822.h
/var/src/sqwebmail-3.3.4/rfc822/rfc822.html
/var/src/maildrop-1.4.0/rfc822/rfc822.h
/var/src/maildrop-1.4.0/rfc822/rfc822.html
/var/src/maildrop-1.4.0/rfc822.html
/usr/local/share/maildrop/html/rfc822.html
Obviously the webpages aren't relevant, but the file is clearly there! What gives? I need IMAP support for IMP.

 

 

 

 

Top