Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50385 - mod_php-4.3.6_rc with -imap flag need mit-krb5
Summary: mod_php-4.3.6_rc with -imap flag need mit-krb5
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: PHP Bugs
Depends on:
Reported: 2004-05-07 12:51 UTC by Pawel Pokladek
Modified: 2004-06-27 16:50 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pokladek 2004-05-07 12:51:36 UTC
When I try to emerge mod_php with such flags:

+X +apache2 +berkdb +crypt +curl +doc -fdftk -firebird +flash -freetds +gd -gd-external +gdbm -gmp +imap -informix -ipv6 +java +jpeg -ldap -mcal +memlimit +mysql +nls -oci8 +odbc +pam +pdflib +png +postgres +qt +snmp +spell +ssl +tiff +truetype +xml2 -yaz

it stops after checking for IMAP, in config.log I can see, that libgssapi_krb5.a is missing, so all You have to do is to add that mit_krb5 is needed when compiling mod_php with IMAP.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge mit-krb5
2. USE="...myflags(probably ssl + imap" emerge mod_php

Actual Results:  
libgssapi_krb5.a is missing (error while compiling) 

Expected Results:  
find the lib and compile, compile, compile.... 

I thin this is not needed...
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-05-07 15:00:27 UTC
mit-krb5 will only be pulled in if USE=kerberos
Comment 2 Pawel Pokladek 2004-05-09 09:13:34 UTC
After emerging mit-krb5 You need to unmerge heimdal, because while compiling mod_php you'll get multiple definition of.... (com_right and probably some more of them). I wonder why mit-krb5 is not blocked by heimdal, they share some files so it should be done...
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-27 16:50:16 UTC
kerberos is a system-level thing, so if you have it and stuff linked against it, without having it in your USE flags, it's your own fault things don't work.