ID:               32390
 User updated by:  ptiggerdine at fastmail dot com dot au
 Reported By:      ptiggerdine at fastmail dot com dot au
-Status:           Feedback
+Status:           Open
 Bug Type:         IMAP related
 Operating System: Gentoo linux
 PHP Version:      4.3.10
 New Comment:

And what is 'heimdal' ? Does the c-client library support   
    that..?
Honestly, why did you post if you didn't know what the bug is about.

while the CVS snapshot "may" work ( i doubt it)my production
environment requires that this be pushed into an official release. If
you are unable to do this, could you escalate this bug so that I can
have contact with  someone who can make that call.

I have a ./configure diff that patches the search of the libraries to
the right name, but I doubt that it's going to be that easy for
kerberos is play ball. This is also no ideal either cos it will break
on MIT libraries


Previous Comments:
------------------------------------------------------------------------

[2005-03-21 08:23:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And what is 'heimdal' ? Does the c-client library support that..?




------------------------------------------------------------------------

[2005-03-21 08:08:40] ptiggerdine at fastmail dot com dot au

I don't see how this is going to help considering it's a library check
issue, but here it is:

/configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man \
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib \
--libdir=/usr/lib --disable-cgi --with-ttf --with-freetype-dir=/usr/lib
--enable-gd-native-ttf --enable-cli \
--with-ndbm=/usr --with-db4=/usr --with-mcrypt=/usr --with-mhash=/usr
--without-interbase --without-ming \
--without-swf --without-sybase --without-gdbm --without-fdftk
--without-java --without-mcal --with-unixODBC=/usr \
--without-pgsql --with-snmp=/usr --enable-ucd-snmp-hack --without-gmp
--without-mssql --with-pdflib=/usr --with-gd \
--disable-gd-native-ttf --with-png=/usr --with-png-dir=/usr
--with-jpeg=/usr --with-jpeg-dir=/usr --enable-exif \
--with-tiff=/usr --with-tiff-dir=/usr --with-mysql=/usr
--with-mysql-sock=/var/run/mysqld/mysqld.sock  \
--without-t1lib --with-gettext --without-qtdom --with-pspell=/usr
--with-openssl=/usr --with-imap=/usr \
--with-ldap=/usr --with-dom=/usr --with-dom-xslt=/usr
--with-dom-exslt=/usr --with-kerberos=/usr --with-pam \
--disable-memory-limit --enable-ipv6 --without-yaz --disable-debug
--without-curl --enable-dbx --with-imap-ssl \
--with-zlib=/usr --with-zlib-dir=/usr --with-sablot=/usr --enable-xslt
--with-xslt-sablot --with-xmlrpc --enable-wddx \
--with-xml --enable-mbstring=all --enable-mbregex --with-bz2=/usr
--with-crack=/usr --with-cdb --enable-pcntl \
--enable-bcmath --enable-calendar --enable-dbase --enable-filepro
--enable-ftp \
--with-mime-magic=/usr/share/misc/file/magic.mime --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-sysvmsg \
--with-iconv --enable-shmop --enable-dio --enable-yp
--with-readline=/usr --with-ncurses=/usr \
--enable-inline-optimization --enable-track-vars --enable-trans-sid
--enable-versioning \
--with-config-file-path=/etc/php/cli-php4

------------------------------------------------------------------------

[2005-03-21 07:50:29] [EMAIL PROTECTED]

What is the configure line that you used? (No, gentoo emerge lines are
not useful)

------------------------------------------------------------------------

[2005-03-21 06:09:30] ptiggerdine at fastmail dot com dot au

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 this bug report at http://bugs.php.net/?id=32390&edit=1

Reply via email to