Description of problem: When running 'rpm --rebuild php-4.1.2-2.1.6.src.rpm' on RHEL ES 2.1 without the 'imap-devel' package installed, the following error occurs during the build process: [...begin partial quote...] checking for iconv support... yes checking for iconv_open in -lc... yes checking for IMAP support... yes, shared checking for pam_start in -lpam... yes checking for crypt in -lcrypt... (cached) yes configure: error: Cannot find rfc822.h. Please check your IMAP installation. error: Bad exit status from /var/tmp/rpm-tmp.9654 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9654 (%build) [...end quote...] Version-Release number of selected component (if applicable): 4.1.2-2.1.6.src How reproducible: Every time Steps to Reproduce: 1. Run 'rpm --rebuild php-4.1.2-2.1.6.src.rpm' on RHEL ES 2.1 without any 'imap' RPMs installed 2. 3. Actual results: Compilation fails due to unresolved dependency Expected results: Unresolved dependency should be checked and reported as normal by RPM, instead of causing simple compilation failure. Additional info: Installing 'imap-devel-2001a-10.0as' via up2date allows compilation to complete successfully.
Duplicate of bug 74819 for Red Hat Linux.
php also doesn't build in RHEL AS3. Ther's no imap-devel package in the distrop that I cna find. I'm very interested in a solution; we need to recompile php to add oci8 support.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0501.html