From: ptiggerdine at fastmail dot com dot au Operating system: Gentoo linux PHP version: 4.3.10 PHP Bug Type: IMAP related Bug description: PHP can't compile with imap that enabled Kerberos by heimdal
Description: ------------ This is exactly the same problem as: http://bugs.php.net/bug.php?id=30640 And I challange anyone who says that this is bogus. If you have a look in the ./configure script, it only looks for MIT libraries NEVER looks for heimdal libraries at all. Heimdal has different library names. Reproduce code: --------------- for gentoo. export USE="kerberos imap ssl php" emerge heimdal && emerge php Expected result: ---------------- to compile Actual result: -------------- Actual result: -------------- checking for IMAP support... yes checking for pam_start in -lpam... (cached) yes checking for crypt in -lcrypt... (cached) yes checking whether SSL libraries are needed for c-client... /usr/lib checking whether IMAP works... no configure: error: build test failed. Please check the config.log for details. config.log: configure:41193: checking whether SSL libraries are needed for c-client configure:41323: gcc -o conftest -g -O2 -Wl,-rpath,/var/tmp/imap/lib -L/var/tmp/imap/lib conftest.c -lc-client -lssl -lcrypto -lcrypt -lpam -lresolv -lm -ldl -lnsl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/b in/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status configure: failed program was: #line 41298 "configure" #include "confdefs.h" -- Edit bug report at http://bugs.php.net/?id=32390&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32390&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32390&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32390&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32390&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32390&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32390&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32390&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32390&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32390&r=support Expected behavior: http://bugs.php.net/fix.php?id=32390&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32390&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32390&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32390&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32390&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32390&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32390&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32390&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32390&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32390&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32390&r=mysqlcfg