Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135 - PHP won't compile with USE=imap and virtual/imap is provided by courier-imap
Summary: PHP won't compile with USE=imap and virtual/imap is provided by courier-imap
Status: RESOLVED DUPLICATE of bug 72
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-11 08:39 UTC by Calle Lennartsson
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Calle Lennartsson 2002-01-11 08:39:21 UTC
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)
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-02-20 12:30:00 UTC
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 ***