ID: 30640
Updated by: [EMAIL PROTECTED]
Reported By: dshen19 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux -- Gentoo
PHP Version: 4.3.9
New Comment:
You're just missing libraries on your system, install the correct ones
and it will work fine.
Previous Comments:
------------------------------------------------------------------------
[2004-11-01 05:06:35] dshen19 at yahoo dot com
I remade the c-client-2004a and put it into /var/tmp/imap
Reproduce code:
---------------
./configure --with-imap=/var/tmp/imap --with-kerberos=/usr
--with-imap-ssl=/usr
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/bin/ld:
cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 41298 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char auth_gssapi_valid();
int main() {
auth_gssapi_valid();
return 0;
}
configure:41349: checking whether IMAP works
configure:41382: 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/bin/ld:
cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 41357 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
------------------------------------------------------------------------
[2004-11-01 04:07:39] dshen19 at yahoo dot com
Description:
------------
php's configure can't finish it configuring job and stop prematruely if
it compile with imap library provided by UW-imap c-client-2004a or
c-client-2002a and Kerberos lib from heimdal.
Reproduce code:
---------------
./configure --with-imap
Actual result:
--------------
configure can't finish it configuring job and stop as:
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
config.log:
configure:41323: gcc -o conftest -g -O2 conftest.c -lc-client
-lcrypt -lpam -lresolv -lm -ldl -lnsl 1>&5
/tmp/ccoAvyPa.o(.text+0xfa): In function `main':
/var/tmp/php-4.3.9/configure:41317: undefined reference to
`auth_gssapi_valid'
collect2: ld returned 1 exit status
configure: failed program was:
#line 41298 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char auth_gssapi_valid();
int main() {
auth_gssapi_valid();
return 0;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30640&edit=1