Hello all,

We're trying to configure PHP with IMAP and Kerberos support. Here's our
php configure command

'./configure' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share/php5' '--includedir=/usr/include'
'--libdir=/usr/share' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-ncurses'
'--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl'
'--with-png' '--with-pspell' '--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath'
'--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--enable-mbregex' '--with-pear=/usr/share/pear' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap'
'--with-mysql=/usr/bin/mysql_config' '--with-mysqli=/usr/bin/mysql_config'
'--with-pgsql=shared' '--with-unixODBC=shared' '--enable-memory-limit'
'--enable-bcmath' '--enable-shmop' '--enable-calendar' '--enable-dbx'
'--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs2'

Error as follows:

'configure: error: Kerberos libraries not found.
'
' Check the path given to --with-kerberos (if no path is given,
searches in /usr/kerberos, /usr/local and /usr )
'

The --with-kerberos=/usr/kerberos is the option that's giving us trouble.
The folder /usr/kerberos doesn't exist. If i remove the command then
support for IMAP fails. We've also got a RHEL server that's got kerberos on
it at that location, but I cannot seem to find the Kerberos 5 rpms from any
SLES mirrors...

I'm also worried that installing these from source may screw up Heimdal on
SLES. Apparently its SLES's free implementation of Kerberos that has
something to do with OES and eDir stuff.

Anyone got any suggestions?

Thanks,
HR Webmaster