Ok, let's see if I can explain this clear enough: The problem is that php, any version I belive, wont compile when USE=imap and the virtual/imap is provided by courier-imap because courier-imap doesn't provide the required header files, namely rfc822.h, mail.h, and linkage.h, or the c-client library. However, if I emerge pine with USE=imap the php imap-support works just fine. The output from emerge is: -- checking for crypt in -lcrypt... (cached) yes configure: error: Cannot find rfc822.h. Please check your IMAP installation. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 73, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/dev-lang/php/php- 4.1.1.ebuild . -- The way I see it there are two solutions to this bug: 1. Don't let courier- imap provide virtual/imap Courier-imap does provide a imap server but not the imap development support and it essentially comes down to what virtual/imap really means, server och development headers and libs? 2. Edit php.ebuild to use net-mail/pine instead of virtual/imap This causes problems when pine is build without imap in USE. Can be avioded by using both virtual/imap _and_ net-mail/pine in DEPEND // Calle Lennartsson (bebbo)
This is about the same as #72 so I'll handle them together. Just got them so don't expect miracles anytime soon though. *** This bug has been marked as a duplicate of 72 ***